This is the development version of ltertools
. Changes from the preceding version are as follows:
There are no ERRORs, WARNINGs, or NOTEs returned by devtools::check()
. Changes from the preceding version are as follows:
make_json
. The most critical dependency of this function is being archived and a suitable replacement cannot be found. Consider making a simple CSV of information rather than a JSONcheck_key
makes sure a column key is properly formatted to work with ltertools::harmonize
and removes rows where no "tidy_name" is specifiedstandardize
standarizes a single dataset (from a list) with the provided key objectharmonize
now runs in approximately half the time for large (i.e., >5 MB) raw data files. No change to function inputs or outputs, just increased efficiencyThere are no ERRORs, WARNINGs, or NOTEs returned by devtools::check()
. Changes from the preceding version are as follows:
expand_key
generates rows for a column key for only raw data files that are not already in an existing key or in an existing harmonized data tableThere are no ERRORs, WARNINGs, or NOTEs returned by devtools::check()
. Changes from the preceding version are as follows:
make_json
creates a JSON containing name/value pairs from a named vector. Optionally adds the JSON file name to the 'gitignore' (if one can be found in the working directory)solar_day_info
identifies sunrise, sunset, solar noon, and day length for all dates within a user-specified range at particular coordinatesharmonize
now includes new defensive warning/error checks with informative messages for likely sources of errorThere are no ERRORs, WARNINGs, or NOTEs returned by devtools::check()
. This is the first version of ltertools
.
read
-- reads in all data files in a particular folder and stores them in a listbegin_key
-- creates the start of a "column key" for data harmonizationharmonize
-- performs column key-based harmonization of raw datacv
-- calculates coefficient of variation for a vector of numbersconvert_temp
-- converts temperature values from one specified unit to anotherlter_sites
-- includes primary habitat, latitude/longitude coordinates, and funding start/end years for every site currently in the networksite_timeline
-- creates a ggplot2
-style timeline of all sites that meet the user-specified criteria (for site code and/or habitat)