View source: R/DataDiscoveryRetrieval.R
TADA_BigDataHelper | R Documentation |
This is a helper function that takes large WQP (waterqualitydata.us) queries and splits them up into multiple, smaller queries. By default it pulls data for up to 300 sites or 250,000 data records at a time and then joins the separate pulls back together to produce a single TADA compatible dataframe as the output. Computer memory may limit the size of data frames that your R console will be able to hold in one session.
TADA_BigDataHelper(record_summary, WQPquery, maxrecs = 250000, maxsites = 300)
record_summary |
MonitoringLocationIdentifier and resultCount columns from the output of |
WQPquery |
A named list of query terms to supply dataRetrieval functions. |
maxrecs |
Maximum number of records to query at once. |
maxsites |
Maximum number of sites to query at once. |
TADA-compatible dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.