Description Usage Arguments Details Value Examples
Split a large CIMIS query into multiple smaller queries based on a time interval.
1 | cimis_split_query(targets, start.date, end.date, items, max.records = 1750L)
|
targets |
geographies or weather stations of interest. This parameter may specify one or many stations, zip codes, coordinates, or street addresses; however, you are not allowed to mix values from different categories. This means the targets parameter must contain only stations, only zip codes, only coordinates, or only street addresses. You will receive an error if you attempt to mix different category types. The formats are accepted:
|
start.date |
Specifies the start date. The data format is
|
end.date |
Specifies the end date. The data format is
|
items |
specifies one or more comma-delimited data elements to
include in your response. See |
max.records |
The maximum number of records returned by a query. The default value is the the maximum data limit allowed by the CIMIS Web API (1,750 records). |
Queries are not split by targets
or items
, i.e. each
resulting query will include all targets and items.
A data frame with columns "targets", "start.date", "end.date", and "items".
1 2 3 | cimis_split_query(170, "2000-01-01", "2010-12-31", "day-air-tmp-avg")
cimis_split_query(c(149, 170), "2018-01-01", "2018-12-31",
c("day-air-tmp-avg", "hly-air-tmp", "hly-rel-hum"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.