Git Product home page Git Product logo

threadr's Introduction

threadr

Build Status

threadr is a collection of R utility functions to link pieces of analysis together. threadr is not a focused, single-unit package, rather a collection of functions which I use to glue many processes together.

Installation

# Development version
remotes::install_github("skgrange/threadr")

Some infomation

  • Utilities:

    • Write JSON files with write_json.
    • FTP/SFTP functions.
      • list_files_ftp, download_ftp_file, and upload_to_ftp.
    • scp functions
      • list_files_scp and download_with_scp.
    • str_* functions. Do things with strings which stringr does not.
      • str_trim_length, str_sentence_case, str_to_underscore, str_chop, str_drop_xml_tags, str_extract_digits, str_sql_quote, str_unique, str_nth_character.
    • A number of unit conversion functions.
      • miles_to_km, knots_to_km_h, kw_to_hp, fahrenheit_to_celsius, psi_to_bar, newton_metre_to_foot_pound, mpg_to_l_100_km, mpg_to_km_l.
    • Test if a vector is within one or many ranges within_range.
    • Create UUIDs with uuid.
  • Date functions

    • Pad time-series to different intervals with time_pad.
    • Make an irregular time-series regular with time_pad_irregular.
    • Round dates to arbitrary time intervals such as 5-seconds, 5-minutes, 15-minutes, 2-minutes, 30-minutes, etc. with round_date_interval.
    • Get Monday-based weeks of the year with week_monday.
    • Get time-zone from date vector with time_zone.
    • Parse numerical date formats easily with parse_unix_time and parse_excel_date.
    • Aggregate by dates with aggregate_by_date.
  • threadr originally contained many database functions. These function were pulled from the package from version 0.4.0 onwards and can now be found in databaser.

threadr's People

Contributors

skgrange avatar shonawilde avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.