The goal of helsinki package is to provide tools in R to access and download open data from City of Helsinki and the Helsinki metropolitan area - the Finnish capital region.
Installation
You can install the released version of helsinki from CRAN with:
install.packages("helsinki")
And the development version from GitHub with:
# install.packages("remotes)
library(remotes)
remotes::install_github("ropengov/helsinki")
Using the package
Loading the package:
List available features from Helsinki Region Environmental Services HSY WFS API and then download the 15th feature from that list:
url <- "https://kartta.hsy.fi/geoserver/wfs"
hsy_features <- get_feature_list(base.url = url)
get_feature(base.url = url, typename = hsy_features$Name[15])
For more examples, check the tutorial page.
Contributing
You are welcome to contact us:
-
Submit suggestions and bug reports (provide the output of
sessionInfo()
andpackageVersion("helsinki")
and preferably provide a reproducible example) - Send a pull request
- Star us on the Github page
- See our website for additional contact information
Acknowledgements
Kindly cite this work as follows: Juuso Parkkinen, Joona Lehtomäki, Pyry Kantanen, and Leo Lahti. helsinki - Helsinki open data R tools. URL: http://ropengov.github.io/helsinki/
Alternatively, run citation("helsinki")
in your R environment after installing this package or see the “Cite this repository” section of the package’s GitHub repository.
We are grateful to all contributors! This project is part of rOpenGov.