# NOT RUN {
## Create a processed dataset for Germany
GNIPDataDEagg <- queryGNIP(data = GNIPDataDE)
head(GNIPDataDEagg)
## Create a processed dataset for Germany per month
GNIPDataDEmonthly <- queryGNIP(data = GNIPDataDE,
split.by = "month")
head(GNIPDataDEmonthly)
## Create a processed dataset for Germany per year
GNIPDataDEyearly <- queryGNIP(data = GNIPDataDE,
split.by = "year")
head(GNIPDataDEyearly)
## Create isoscape-dataset for warm months in germany between 1995 and 1996
GNIPDataDEwarm <- queryGNIP(data = GNIPDataDE,
month = 5:8,
year = 1995:1996)
head(GNIPDataDEwarm)
## Create a dataset with 90% of obs
GNIPDataDE90pct <- queryGNIP(data = GNIPDataDE,
prop.random = 0.9,
random.level = "obs")
lapply(GNIPDataDE90pct, head) # show beginning of both datasets
## Create a dataset with half the weather stations
GNIPDataDE50pctStations <- queryGNIP(data = GNIPDataDE,
prop.random = 0.5,
random.level = "station")
lapply(GNIPDataDE50pctStations, head)
## Create a dataset with half the weather stations split per month
GNIPDataDE50pctStationsMonthly <- queryGNIP(data = GNIPDataDE,
split.by = "month",
prop.random = 0.5,
random.level = "station")
lapply(GNIPDataDE50pctStationsMonthly, head)
# }
Run the code above in your browser using DataLab