rdfp (version 0.1.2)

dfp_createExchangeRates: ExchangeRateService

Description

Provides methods for adding, updating and retrieving ExchangeRate objects.

Usage

dfp_createExchangeRates(request_data, as_df = TRUE, verbose = FALSE)

Arguments

request_data

a list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)

as_df

a boolean indicating whether to attempt to parse the result into a data.frame

verbose

a boolean indicating whether to print the service URL and POSTed XML

Value

a data.frame or list containing all the elements of a createExchangeRatesResponse

Details

createExchangeRates

Creates new ExchangeRate objects. For each exchange rate, the following fields are required:

  • ExchangeRate currencyCode

  • ExchangeRate exchangeRate when ExchangeRate refreshRate is ExchangeRateRefreshRate FIXED

See Also

Google Documentation for createExchangeRates

Examples

Run this code
# NOT RUN {
 res <- dfp_createExchangeRates(request_data)
# }

Run the code above in your browser using DataCamp Workspace