getMetaStationbyElem: Get the metadata of the stations given several meteorlogical...

Description Usage Arguments Details Examples

View source: R/getMetaStationbyElem.R

Description

The function getMetaStationbyElem() makes it possible to get the metadata of stations, registered by met.no, that measure all the chosen meteorological elements.

Usage

1
getMetaStationbyElem(timeserietypeID, elements)

Arguments

timeserietypeID

0:Daily, 1:Monthly, 2:Hourly, 3:Normal Monthly, 4: Normal Daily, 5:Record Daily (not used)

elements

meteorlogical element as its code ("TAM", "RR", ...). Can be a vector of elements

Details

The output is a dataframe. This structure eases the conversion into json

Examples

1
2
3
4
tmp <- getMetaStationbyElem(timeserietypeID="2",elements="TA")
str(tmp)
tmp <- getMetaStationbyElem(timeserietypeID="0",elements=c("TAM","RR"))
str(tmp)

jeanmarie-eu/wsklimaR documentation built on May 7, 2019, 2 p.m.