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.
# Development version
install.packages("remotes")
remotes::install_github("skgrange/threadr")
Utilities:
write_json
. list_files_ftp
, download_ftp_file
, and upload_to_ftp
.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_nth_character
.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
. within_range
.uuid
. Date functions
time_pad
. time_pad_irregular
. round_date_interval
.week_monday
. time_zone
.parse_unix_time
and parse_excel_date
.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.