Commit cdc98960 authored by Jean-Marie Lepioufle's avatar Jean-Marie Lepioufle
Browse files

typo

parent 517a01c5
......@@ -6,3 +6,4 @@ export(get_short_data)
export(get_short_meta_element)
export(get_short_meta_station)
export(get_short_meta_station_with_element)
export(get_short_new_element)
......@@ -39,8 +39,6 @@ api_object <- function(...){
if (res$status_code==200L) {
res <- httr::content(res)
} else res <- NULL
return(res)
}
getRainfallIDFSources <- function(...) {
......
......@@ -17,6 +17,9 @@ knitr::opts_chunk$set(collapse = T, comment = "#>")
```R
id <- "your id"
frostr <- frostr::api(httpauth = 1,userpwd=paste0(id,":"))
tmp <- frostr::get_short_data(frostObj=frostr,stations="SN18700",referencetime='2017-01-01T00:00:00Z',elements='sum(precipitation_amount PT1H)')
tmp <- frostr::get_short_data(frostObj=frostr,stations="SN18700",referencetime='2017-01-01T00:00:00Z',elements="air_temperature",levels=2)
......
......@@ -17,6 +17,10 @@ knitr::opts_chunk$set(collapse = T, comment = "#>")
```R
id <- "your id"
frostr <- frostr::api(httpauth = 1,userpwd=paste0(id,":"))
stations <- "SN18700"
stn_meta <- frostr::get_short_meta_station(frostObj=frostr,stations=stations)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment