odata_function {ODataQuery}R Documentation

Make an OData function available to 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

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()


[Package ODataQuery version 0.5.3 Index]