Learn R Programming

helsinki - Helsinki open data R tools

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/

We are grateful to all contributors! This project is part of rOpenGov.

Copy Link

Version

Install

install.packages('helsinki')

Monthly Downloads

315

Version

1.0.6

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Last Published

December 2nd, 2022

Functions in helsinki (1.0.6)

to_sf

Transform to sf-object
get_rakennustietoruudukko

Produce an SF object: Rakennustietoruudukko
get_hri_stats

Helsinki Region Infoshare statistics API
select_feature

Interactively browse and select features
helsinki-package

Helsinki open data R tools
gracefully_fail

Gracefully fail internet resources
helsinki-deprecated

Deprecated functions in package helsinki.
wfs_api

WFS API
get_servicemap

Access Helsinki region Service Map API
get_vaestotietoruudukko

Produce an SF object: Vaestotietoruudukko
get_hri_dataset_metadata

Get HRI dataset metadata
get_feature_list

Print all available Features
get_feature

Produce an SF object
get_linkedevents

Access Helsinki Linked Events API
get_city_map

Get city administrative regions
get_hri_dataset_list

List HRI datasets