Description Usage Arguments Value
Function to return total number of cells in objects such as vectors, matrices, dataframes, or lists. dataName, HUC, timestep, and startDate can be lists as long as matching lengths. If any filenames supplied, other inputs ignored.
1 2 3 |
fnames |
Character; List of filenames of feather files from which to extract data name, HUC number, timestep, and starting date. |
dataName |
Character; Name of dataset. |
HUC |
Character or numeric; Number of HUC unit of dataset. |
timeStep |
Character; Time step between measurements. Can be 'day', 'week', 'month', 'year', etc. |
startDate |
Character; Starting date for measurements in 'YYYY-M-D' format. Set 'D' to 1 for time steps > weekly. |
infoReturn |
Character; Data to return when extracting from filenames. List of objects 'dataName', 'HUC', 'timeStep', and 'startDate'. Defaults to returning all data. |
returnList |
Logical; Option whether to return data in list format or not. Defaults to FALSE, not returning a list. |
Number of cells in object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.