retrieve_data: Retrieve data
Usage
retrieve_data(
url,
metadata = c("none", "minimal", "all"),
httr_args = list(),
jsonlite_args = list()
)Arguments
url
Which url to fetch data from
metadata
Whether and how metadata is included
httr_args
List of additional arguments passed on to httr::GET
jsonlite_args
List of additional arguments passed on to jsonlite::fromJSON
Value
Data including metadata
Examples
Run this code# NOT RUN {
url <- "https://services.odata.org/V4/TripPinServiceRW"
retrieve_data(url)
# }
Run the code above in your browser using DataLab