priceR icon indicating copy to clipboard operation
priceR copied to clipboard

Economics and Pricing in R

Results 30 priceR issues
Sort by recently updated
recently updated
newest added

Looks like the API of https://exchangerate.host/ now requires an API Access Key. If you try to access https://api./timeseries?start_date=2010-01-01&end_date=2010-12-31&base=AUD&symbols=USD you will get the following response: `{ "success": false, "error": { "code":...

I am running the historical_exchange_rates function for multiple currencies; back to 2010. While the function works fine most of the time, I occasionally go this I get this error: `Error...

The following statement is now producing error, while before it ran fine (just returning unconverted value). This breaks dependencies: convert_currencies(10, from="EUR", to="EUR")

Dear Steve, As in title: running priceR::currencies() returns empty data frame, while defining the same funcion within my own script works perfectly well: ``` currencies % mutate(ind = substr(.data$ind, 4,...

Trying to run a simple query results in an error: ``` > exchange_rate_latest("USD") %>% head(10) Daily USD exchange rate as at end of day GMT Error in stack.default(.) : at...

I've verified that my "price" and "from_date" parameters are numeric, but I get this error: > Error in price * multipliers : non-numeric argument to binary operator Reproducible code: ```...

I need to access exact exchange rates according to the ECB. The underlying service that `priceR` uses allows this, with a single `source` parameter. For the latest rates, this would...

Per email discussion, moving `convert_currencies()` function from [gist](https://gist.github.com/brshallo/650c1ad3f4bd9b74076592c6bc4ff8ae) to {priceR}.

[This](https://github.com/stevecondylios/priceR#adjust-prices-for-inflation) example (with 10 rows) runs very quickly: ```r set.seed(123) nominal_prices

enhancement

One way to make this work: When the to_date is the current year, the user also has to provide an estimated inflation rate. However, it may also be useful to...