files_from_repo | R Documentation |
return a dplyr::tbl of files from the file repository for a receiver (and maybe specific day)
files_from_repo(serno, day = NULL)
serno |
character scalar receiver serial number |
day |
character scalar day; default NULL |
a tbl; one of two flavours, depending on the receiver type and 'day'.
If the receiver is a sensorgnome and day is NULL
, the return value has
these columns sorted by decreasing day:
day: character; day, formatted as "YYYY-MM-DD"; any days for which the repo has files
count: integer; number of files from the day in the file repo
Otherwise, for Lotek receivers or if 'day' is given, the return value has these columns, sorted by fileID:
name: character; name of file
fileSize: integer; size of file on disk, in bytes
For Lotek receivers, day is ignored (as long as it is present), and all files for the receiver are listed.
for SG receivers, when both a compressed and un uncompressed version of the file are present, this only counts as one file, and if returning files, the name is returned without a ".gz" suffix, but the size is of the .gz file on disk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.