Learn R Programming

ODataQuery (version 0.5.3)

retrieve_data: Retrieve data

Description

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

See Also

Other retrieve: odata_function(), retrieve_all(), retrieve_one()

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