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

structured response

parent f63175a8
......@@ -4,11 +4,12 @@ Version: 0.0.2
Authors@R: c(person("Jean-Marie", "Lepioufle", , "jml@nilu.no", role=c("aut","cre")))
Title: eipar
Description: Extracting data from the Irish EPA API.
The Irish EPA API provides free access to air quality timeseries.
The Irish EPA API provides free access to air quality timeseries.
Depends:
R (>= 3.2.3)
Imports:
utils,
httr,
rapiclient
Remotes: git::git@git.nilu.no:rextapi/rapiclient.git
Suggests:
......
......@@ -36,11 +36,13 @@ api_object <- function(...){
Retrieves_one_or_more_aq_measurements <- function(...) {
res <- operations$Retrieves_one_or_more_aq_measurements(...)
res <- httr::content(res)
return(res)
}
Retrieves_a_Aq_measurement_document<- function(...) {
res <- operations$Retrieves_a_Aq_measurement_document(...)
res <- httr::content(res)
return(res)
}
......
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