Learn R Programming

priceR (version 1.0.2)

historical_exchange_rates: Retrieve historical exchange rates

Description

Retrieves historical exchange rates between a currency pair

Usage

historical_exchange_rates(from, to, start_date, end_date)

Value

A data.frame containing exchange rate data for select currency pair

Arguments

from

A currency code (see currencies() for supported codes)

to

A currency code

start_date

A start date (of the form "2010-01-01")

end_date

An end date