odata_function: Make an OData function available to R

Description Usage Arguments Value See Also

View source: R/retrieve.R

Description

This turns an OData function into an R function Parameters are serialized to json. Scalar arguments should be passed as atomic vectors. Array or object arguments should be passed as list.

Usage

1
odata_function(url, metadata = c("none", "minimal", "all"), ...)

Arguments

url

Which url to fetch data from

metadata

Whether and how metadata is included

...

Arguments passed on to retrieve_data

httr_args

List of additional arguments passed on to httr::GET

jsonlite_args

List of additional arguments passed on to jsonlite::fromJSON

Value

An R function

See Also

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


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