Access Finnish Geospatial Data
Overview
Designed to simplify geospatial data access from the Statistics Finland Web Feature Service API https://geo.stat.fi/geoserver/index.html, the geofi package offers researchers and analysts a set of tools to obtain and harmonize administrative spatial data for a wide range of applications, from urban planning to environmental research. The package contains annually updated time series of municipality key datasets that can be used for data aggregation and language translations.
- all api calls and hyperlinks now uses https
From NEWS.md in the release
Install
Health
ERRORexamplesr-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64
Running examples in ‘geofi-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: wfs_api
> ### Title: WFS API
> ### Aliases: wfs_api
>
> ### ** Examples
>
> wfs_api(base_url = "https://geo.stat.fi/geoserver/wfs",
+ queries = append(list("service" = "WFS", "version" = "1.0.0"),
+ list(request = "getFeature",
+ layer = "tilastointialueet:kunta4500k_2017")))
Requesting response from: https://geo.stat.fi/geoserver/wfs?service=WFS&version=1.0.0&request=getFeature&layer=tilastointialueet%3Akunta4500k_2017
Error in curl::curl_fetch_memory(url, handle = handle) :
Timeout was reached [geo.stat.fi]:
Connection timed out after 10001 milliseconds
Calls: wfs_api ... request_fetch.write_memory -> <Anonymous> -> raise_libcurl_error
Execution halted- ERROR11 OK, 2 ERROR2026-10-22
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
Show 7 earlier changesHide 7 earlier changes
- OK13 OK2026-05-21
- ERROR12 OK, 1 ERROR2026-05-20
- OK14 OK2026-04-03
- ERROR13 OK, 1 ERROR2026-03-30
- OK14 OK2026-03-20
- ERROR13 OK, 1 ERROR2026-03-14
- OK14 OK2026-03-10
Documentation
The repository also keeps web-only articles.
- Help pages
- 61 (2 internal)
- Examples that run
- 6%1 run in a plain check · 16 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
- Accessing Data from NLS OGC api HTML
- Accessing Data from Statistics Finland OGC api HTML
- Datasets in geofi-package HTML
- Geocoding and Reverse Geocoding with geofi HTML
- Joining attribute data with geofi data HTML
- Making maps using geofi-package HTML
- Spatial data manipulation and analysis R and geofi-package HTML
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 54
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Issues over time
PRs over time
9 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/ropengov/geofi on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-07-17 · The repository has a site deploy workflow
pkgdown site last built 2026-07-17
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.2.1Latest
- 1.2.02026-03-02 · diff ↗
- unarchivedReturned to CRAN2025-04-29
- 1.1.02025-04-29 · diff ↗ ·
added 9 exports
geocode, geocode_reverse, municipality_central_localities, ogc_get_maastotietokanta, ogc_get_maastotietokanta_collections, ogc_get_nimisto, ogc_get_statfi_area, ogc_get_statfi_area_pop, ogc_get_statfi_statistical_grid - archivedRemoved from CRAN2025-04-16issues were not corrected in time
- RR 4.5.0 released · 2025-04-11
- 1.0.182025-02-11 · diff ↗
- 1.0.172024-11-22 · diff ↗
- 1.0.162024-08-19 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.0.152024-03-13 · diff ↗
- 1.0.142024-02-05 · diff ↗
- 1.0.132024-01-24 · diff ↗
- unarchivedReturned to CRAN2023-12-18
- 1.0.112023-12-18 · diff ↗
Show 18 earlier eventsHide 18 earlier events
- archivedRemoved from CRAN2023-12-12issues were not corrected in time Uses suggested packages unconditionally
- unarchivedReturned to CRAN2023-11-02
- 1.0.102023-11-02 · diff ↗
- archivedRemoved from CRAN2023-10-31policy violation On Internet access
- RR 4.3.0 released · 2023-04-21
- 1.0.92023-04-16 · diff ↗
- 1.0.82023-02-16 · diff ↗
- 1.0.72022-10-23 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.0.6
- 1.0.52021-10-30 · diff ↗
- 1.0.42021-08-18 · diff ↗
- 1.0.3
- 1.0.22021-06-07 · diff ↗
- RR 4.1.0 released · 2021-05-18
- 1.0.12021-03-29 · diff ↗
- 1.0.02021-02-25
- RR 4.0.0 released · 2020-04-24
Package metadata
- First published
- 2021-02-25
- Total releases
- 21 / 5 yrs
- License
- BSD_2_clause + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 407 KB / 41 files
- Download size
- 2.9 MB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("geofi")The package provides a citation file that builds its entry when R runs it. Run citation() to see it.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.