View source: R/download_and_resample2.R
Get data from province of Bozen monitoring stations. applies a resample with "resample_provBz_data2"
1 2 3 |
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" |
roundFUN |
the resampling function. Possible options lubridate::ceiling_date,lubridate::floor_date,lubridate::round_date |
round |
the resampling period. Possible options "raw" "hour" "day" "week" "month". Passed to lubridate::round_date |
statsFUN |
the "statistical" function. any function that takes a vector in inpunt and a single value in output |
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: "NAME","TimeStamp","Sensor","Value" |
name |
a name to give to a column "NAME". default is the german/italian name of the station |
... |
additional arguments passed to statsFUN |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.