set_currency: Set the currency for HERE API requests

View source: R/options.R

set_currencyR Documentation

Set the currency for HERE API requests

Description

If the currency is not set using this function call, the currency defined in the monetary representations in the current locale is used. If the monetary formatting category "LC_MONETARY" of the C locale is not set, "USD" is set as default.

Usage

set_currency(currency = NULL)

Arguments

currency

character, the currency code compliant to ISO 4217 to use in the requests (default = NULL, which defaults to the current system locale settings).

Value

None.

Examples

set_currency("CHF")

hereR documentation built on Sept. 18, 2023, 5:21 p.m.