Skip to content

rOpenGov/helsinki

Repository files navigation

helsinki - Helsinki open data R tools

rOG-badge R build status CRAN Status Badge Downloads total Downloads monthly Watch on GitHub Star on GitHub Follow on Twitter

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:

library(helsinki)

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:

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.