pa_batch_download_sensors | R Documentation |
Download all of the PurpleAir sensors within a bounding polygon and a time range, one sensor at a time. This requires a PurpleAir API read key with access to historical data. Note that the PurpleAir API has a nominal limit of 1000 queries per key per day.
pa_batch_download_sensors(
first_date,
last_date,
bounding_poly,
api_key,
output_folder,
starting_point = NULL
)
first_date |
Date First day of data to request |
last_date |
Date Last day of data to request |
bounding_poly |
A simple features polygon, such as a state or country |
api_key |
A PurpleAir API read key with access to historical data |
output_folder |
The location where the output RDS files should be stored |
starting_point |
If specified, the rownumber to begin processing. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.