Purpose
Interfacing the geoinformation platform of the Swiss Confederation which provides access to meteorological observations of the Swiss national weather service and adjacent providers. This package is based on the swissgeo.core and specifically tailored to easily retrieve automated observations from weather stations and towers.
For those interested in accessing other datasets beyond what msdata provides please check out swissgeo.core.
Note that there is a package gsdata to retrieve automated weather station data from the Austrian weather service (Geosphere) working very similar to this package.
Installation
This package is available on codeberg as well as on R-universe.
install.packages("msdata", repos = "https://retostauffer.r-universe.dev")
This will automatically resolve reverse dependencies. Note that swissgeo.core also depends on the sf package which may need additional libraries to be installed on your system (geos, proj4). For details please read the installation instructions on https://r-spatial.github.io/sf/.
Dependencies
The package depends on:
swissgeo.core: core package accessing datasets available via the geoinformation platform of the Swiss Confederation (data.geo.admin.ch).parsedate: Parsing date and time information.dplyr: Used for data wrangling.zoo: Handling time series data.sf: Georeferenced data.