Learn R Programming

⚠️There's a newer version (1.0.6) of this package.Take me there.

helsinki - Helsinki open data R tools

R tools to access and download open data from City of Helsinki and the Helsinki metropolitan area (Finnish capital region).

Installation

# Stable release
install.packages("helsinki")
# Development version
library(remotes)
remotes::install_github("ropengov/helsinki")

Using the package

As a simple example we load the package, list available features from Helsinki Region Environmental Services HSY WFS API, and then download the 20th feature from that list:

library(helsinki) 
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

223

Version

1.0.3

License

BSD_2_clause + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Juuso Parkkinen

Last Published

September 3rd, 2021

Functions in helsinki (1.0.3)

wfs_api

WFS API
get_rakennustietoruudukko

Produce an SF object: Rakennustietoruudukko
to_sf

Transform to sf-object
select_feature

Interactively browse and select features
get_hsy

Deprecated functions in package helsinki.
helsinki-package

Helsinki open data R tools
get_vaestotietoruudukko

Produce an SF object: Vaestotietoruudukko
aluejakokartat

Helsinki region district maps (aluejakokartat)
get_feature

Produce an SF object
get_linkedevents

Access Helsinki Linked Events API
get_hri_stats

Helsinki Region Infoshare statistics API
get_feature_list

Print all available Features
get_servicemap

Access Helsinki region Service Map API
get_city_map

Get city administrative regions
get_hsy-deprecated

Retrieve data from Helsinki Region Environmental Services.