retrieve_data {ODataQuery}R Documentation

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

## Not run: 
url <- "https://services.odata.org/V4/TripPinServiceRW"
retrieve_data(url)

## End(Not run)

[Package ODataQuery version 0.5.3 Index]