Description Usage Arguments Value Examples
Get daily air pollution data for given dates and province
1 | get_daily_data(dates, province, from, to)
|
dates |
Character vector with one or multiple dates formatted as "yyyy-mm-dd" (see examples). Alternatively, use |
province |
Character. The first two letters of province name. |
from |
Character. Starting date, with format "yyyy-mm-dd". |
to |
Character. Last date required, with same format as above. |
A dataframe, suitable to be used directly in openair package.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
dataset <- get_daily_data("2015-01-28", province = "gr")
dataset <- get_daily_data("2015-01-03", "MA")
dataset <- get_daily_data("2015-01-03", "Se")
dataset <- get_daily_data(c("2015-01-28", "2015-01-29"), "se")
dataset <- get_daily_data(province = "se", from = "2015-01-10", to = "2015-01-15")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.