knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
R client package for the Finnish Meteorological Institute (FMI) open data API. fmi2
provides access
to a subset of the FMI download
service. FMI maintains and is reponsible for the data available through their
API, but has no official connections to fmi2
.
All data from the FMI is released under the Creative Commons Attribution 4.0 International license.
fmi2
is not yet on CRAN, but you can install the development version
from GitHub with:
# install.packages("remotes") remotes::install_github("rOpenGov/fmi2")
Currently, the following FMI stored queries are avaible in fmi2
:
library(fmi2) knitr::kable(list_queries(), col.names = c("Stored query", "Description", "No. parameters", "fmi2 function name"))
More data sets and queries may be wrapped in the future.
For usage examples, see the package function reference and the following vignettes:
If you have a particular need in mind, you're free to:
If this is fmi2
, where's the first fmi
!? Good question, fmi
can be found
here and is no longer developed or
maintained. fmi
was developed back in the day when accessing data from a
WFS in R was much more difficult. Hence, the package is much more complicated
than fmi2
and too laborious to maintain.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.