Learn R Programming

hereR (version 0.9.1)

set_currency: 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)

Value

None.

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

Examples

Run this code
set_currency("CHF")

Run the code above in your browser using DataLab