Skip to content
Access to KNMI data
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
data
inst
man Use linters line_length and mutliple_dots Jul 2, 2017
tests
.Rbuildignore
.gitignore
.lintr
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md Included EOBS into knmiR Mar 10, 2017
README-CreateExampleGraph-1.png Updated README Feb 2, 2017
README-InputAndOutputGraph-1.png
README.Rmd
README.md
appveyor.yml
knmiR.Rproj

README.md

knmiR

Project Status: WIP - Initial development is in progress, but there has not yet been a stable, usable release suitable for the public. Build Status AppVeyor Build Status Coverage Status

A package to access KNMI data within R.

Please, if there are any issues of any kind, file an issue here.

General

The data can be downloaded ususally in the following scheme Dataset(var, location, period, ...). The location can have the following forms:

  • integer identifying the station (in the case of station data)
  • SpatialPoint closest station (grid box) time series in the case of station (gridded) data
  • SpatialPolygon (or bbox) all stations (grid boxes, events in case of irregular data) in the given spatial extent

The period is to follow the xts form, e.g. "2010/2015" for all data in the years 2010-2015.

Homogenized precipitation data

To use this data please cite Buishand et al. (2013): Homogeneity of precipitation series in the Netherlands and their trends in the past century. At the moment the data are obtained via the KNMI climate explorer.

HomogenPrecip(550, "1910/2015") obtains the homogenized preciptiation data for the station with stationId 550 for the period 1910 - 2015. The available stations are reported in the data.frame stationMetaData. From this we can see that stationId 550 belongs to De Bilt. With an object area (extending SpatialPolygons) we can get all precipitation data in the given area, using HomogenPrecip(area, "1910/2015").

Earthquake data

Earthquakes("induced") provides all induced earthquakes from the KNMI earthquake catalogue. Natural, i.e. tectonic quakes, are also available. The data can be restricted to a specific area (extending SpatialPolygons) and a specific period. For instance Earthquakes("induced", Groningen, "2015/2016") obtaines all induced earthquakes for the Groningen reservoir (is shipped with the package) in the years 2015 and 2016. At the moment the earthquake data are obtained via KNMI Aardbevingscatalogus.

You can’t perform that action at this time.