Data Notification
neonUtilities 1.3.2 now available on CRAN
December 4, 2019
neonUtilities 1.3.2
is now available on CRAN! There are several updates in this version, primarily around improving performance and retaining more complete metadata from the original download.
stackByTable
has optional parallel processing. Use the inputnCores
to specify the number of cores to use in stacking the data, for speedier processing. This is helpful primarily in dealing with long time series of sensor data. The function may overridenCores
if it determines parallelization will not significantly improve performance.stackByTable
retains a version of t he readme file. In downloads, readme files are generated for each site by month combination, so the readme file provided bystackByTable
deletes the site- and date-specific information.stackByTable
also retains the sensor_positions files, which are provided with downloads of streaming sensor data. sensor_positions files are specific to a site, so the version provided bystackByTable
is stacked across sites, in the same way as the data tables.stackByTable
no longer requires the ‘folder’ input to distinguish between portal andzipsByProduct
downloads. It won’t fail if ‘folder’ is included, so any existing code using it will continue to work.stackByTable
adds a new column to each data table, called publicationDate, populated with the date-time stamp of publication for each record of data. These dates are provided with the raw downloaded files, but were not tracked during stacking in previous versions.- Publication date is also taken into consideration in the variables and validation files - the file kept by
stackByTable
is now reliably the most recently published version. - A new function,
readTableNEON
, takes a NEON data table and a NEON variables file as inputs and assigns classes to data frame columns based on the data types specified in the variables file. Dates are stored as POSIXct, and URLs are stored as strings. loadByProduct
incorporatesreadTableNEON
, so data accessed byloadByProduct
are read into R according to data type.
If you have any issues or questions about this release, please visit our issues log on GitHub.