retrieve_data: Retrieve data

Description Usage Arguments Value See Also Examples

View source: R/retrieve.R

Description

Retrieve data

Usage

1
2
3
4
5
6
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

1
2
3
4
5
## Not run: 
url <- "https://services.odata.org/V4/TripPinServiceRW"
retrieve_data(url)

## End(Not run)

ODataQuery documentation built on July 5, 2021, 5:09 p.m.