loadCleanGridSpyData | R Documentation |
loadCleanGridSpyData
checks to see if the extract file already exists. If not it loops over a file list and loads each in turn using readr::read_csv
. It filters each file to
extract data between two dates and creates some derived time/date variables before
using rbind
to create a single data.table which is saved and returned.
loadCleanGridSpyData(fPath, dateFrom, dateTo)
fPath |
location of files to load |
dateFrom |
date to start extract (inclusive) |
dateTo |
date to end extract (inclusive) |
Function selects observations between
dateFrom
and dateTo
.
Use of readr::read_csv
enables .gz files to be autoloaded and proper parsing of dateTimes.
Ben Anderson, b.anderson@soton.ac.uk
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.