Description Usage Arguments Details Value See Also Examples
Construct a query to the FMI API
1 |
type |
A length 1 character vector specifying the measurement interval of the observations to request |
... |
Name-value pairs of character vectors, used as query parameters. See details for possible values. |
The list of possible parameters passed in ...
depends on the type
and format of the query being constructed. Query-specific parameters are
fully documented in the FMI Open Data Manual.
Common parameters include:
A date or datetime specifying the start/end of the interval to request data for. These must be in the ISO-8601 format.
A string specifying the place of measurement
in general terms. E.g. "Helsinki"
, "Oulu"
A character vector containing query URLs for the FMI API.
fmi_data()
to request data from the API.
1 | fmi_query("real-time", place = "Helsinki")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.