EDIorg / ecocomDP

A dataset design pattern and R package for ecological community data.
https://ediorg.github.io/ecocomDP/
Other
32 stars 13 forks source link

refactor NEON mapping code, add arguments to save and read "raw" NEON data locally #106

Closed sokole closed 3 years ago

sokole commented 3 years ago

@clnsmth

I made some changes to the NEON mapping functions so that the actual call to neonUtilities happens in the parent/wrapper function, and the mapping methods just map the data. Added some arguments in the call to map_neon_to_ecocomDP for saving and reading data pulled from the NEON API via neonUtilities::loadByProduct() locally, so we don't have to download from the API every time we want to map the data.