download_and_resample: Get data from province of Bozen monitoring stations. applies...

Description Usage Arguments

View source: R/download_and_resample.R

Description

Get data from province of Bozen monitoring stations. applies a resample with "resample_provBz_data"

Usage

1
2
3
4
download_and_resample(sensor, station, datestart, dateend,
  round = "hour", spread = FALSE, notScode = FALSE,
  inshiny = FALSE, nstations = NULL, sort = NULL,
  filter_edges = TRUE)

Arguments

sensor

Sensor to download. You can check SCODES station names and sensors typing MeteoBrowser::tot_tab_def

station

Station "SCODE" to download. You can check SCODES station names and sensors typing MeteoBrowser::tot_tab_def

datestart

starting date of the timeseries. format "YYYY-MM-DD"

dateend

ending date of the timeseries. format "YYYY-MM-DD"

round

the timestamp of the resample. defalutl is "hour" . write "raw" for no resample

spread

whether to spread the table or leave it in long format. Default is FALSE

inshiny

if the function is called in the shiny app. default=FALSE

nstations

if the function is called in the shiny app: number of stations * sensors. default=NULL

sort

column names on which to sort the table. available options: c("NAME","TimeStamp","Sensor","Value")


GiulioGenova/MeteoBrowser documentation built on Nov. 5, 2019, 6:07 p.m.