Skip to content

About

Converts any currency value into a specified USD-equivalent (set year)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

17 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Currency converter

Converts any currency value into a specified USD-equivalent (set year; in this example, it is 2023 US$). Also includes code to correct for purchase power parity (conversion to international dollars). Use the currencyConvert.R script attached.

Investigators


Accompanies paper:

Latombe G, Diagne C, et al. 2026. InvaHealth — a database of global human health costs from biological invasions. Scientific Data in preparation

Scripts

  • currencyConvert.R: main R code for analysis

Data

  • PPP1990_2023.csv: purchasing power parity conversion values (source: World Bank)

Required R packages

countrycode, dplyr, fredr, quantmod, tidyverse, yahoofinancer

About

Converts any currency value into a specified USD-equivalent (set year)

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages