Description Usage Arguments Examples
Retrieve pollen count forecast
1 2 | pollencast(zip = NULL, api_key = NULL, forecast_days = 1,
metric = "false", language_code = "en-us", user_agent = NULL)
|
zip |
five digit zip code |
api_key |
API key string from Accuweather |
forecast_days |
desired number of forecast days; 1 by default, accepts 1, 5, 10, and 15 |
metric |
Use metric system? defaults to "false" |
user_agent |
user agent string (optional); otherwise uses httr's default user agent |
language |
defaults to US English, see Accuweather API docs for supported languages |
1 2 | df <- pollencast(zip = 20238)
df2 <- pollencast(zip = "20238")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.