This is the final release of the package that uses API keys.
HTTP errors now include the description provided by the API.
fmi_split_long_query()
is no longer exported, as with current design,
there isn't any scenario in which a user should have to call it directly.
New fmi_split_long_query()
can be used to split queries that are too long
for their type into multiple shorter queries that fit (cf. #2).
fmi_query()
is now vectorised with respect to the query parameters. This
means you can now (for example) simultaneously create queries for multiple
places like fmi_query(place = c("Oulu", "Espoo"))
(#1).
fmi_data()
now:
tbl_df
. It
is not advisable to mix query types (e.g. "daily"
and "monthly"
) in
a single query vector as that will result in malformed data.fmi_split_long_query()
(#2).place
in the query.You can now use the environment variable FMIR_API_KEY
to remember your API
key across sessions.
NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.