KNMI / knmiR

Access to KNMI data
Other
5 stars 1 forks source link

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:

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.