NEONScience / NEON-utilities

Utilities and scripts for working with NEON data. Currently: an R package with functions to join (stack) the month-by-site files in downloaded NEON data, to convert data to geoCSV format, and to download data from the API.
GNU Affero General Public License v3.0
57 stars 36 forks source link

download specific table(s) with loadByProduct rather than all tables #108

Closed jcoloso closed 3 years ago

jcoloso commented 3 years ago

I'm using loadByProduct to download surface water chemistry data (DP1.20093.001), but it is quite slow. I'm only using the swc_domainLabData table and was hoping there could be a way to get just that table without first having to download and stack all the tables.

cklunch commented 3 years ago

@jcoloso This is currently in getDatatable(), and will be moved to loadByProduct() in neonUtilities 2.0. See #106 for current issues in getDatatable().

jcoloso commented 3 years ago

Great! I forgot about getDatatable() as I'm so used to using loadByProduct(). I'll give it a try. I'm looking forward for that functionality to be added to loadByProduct().