Description Usage Arguments Value Examples
View source: R/aggregateFeather.R
Aggregate already-processed feather files to a lower-resolution time step (eg. daily to monthly).
1 2 |
fNames |
Character; Feather filenames to aggregate. |
fPath |
Character; Path to folder containing feather files. If working directory is set to containing folder, can be left as NULL. |
to |
Character; Target timestep to aggregate to. Should be either 'month' or 'year'. |
fun |
Function; Function by which to compute summary statistics. Defaults to sum. |
writeFeather |
Logical; Should new feather files be written? Defaults to FALSE. |
reorder |
Logical; Should datasets be reordered by name and HUC level? Defaults to TRUE. |
returnOriginals |
Logical; Return the original feather files in list? |
List of aggregated feather files. Name of each list item is the updated filename, accessed through names(x), where x is the returned list. Original feather files included if returnOriginals == TRUE.
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.