Title: | Scrapes data from various web sources needed for PACTA |
---|---|
Description: | This package provides tools to scrape data from various web sources needed for PACTA. |
Authors: | CJ Yetman [aut, cre, ctr] , Jackson Hoffart [aut, ctr] , Jacob Kastl [aut, ctr], Alex Axthelm [aut, ctr] , RMI [cph, fnd] |
Maintainer: | CJ Yetman <[email protected]> |
License: | MIT + file LICENSE |
Version: | 0.1.0.9000 |
Built: | 2024-10-30 12:23:46 UTC |
Source: | https://github.com/rmi-pacta/pacta.data.scraping |
Get currency exchange rates for a given quarter from the IMF API
get_currency_exchange_rates(quarter, max_seconds = 60L)
get_currency_exchange_rates(quarter, max_seconds = 60L)
quarter |
A single string containing the desired quarter of data in the form "2022-Q4". |
max_seconds |
A single numeric containing the max number of seconds it should wait for a response |
A dataframe containing columns currency
and exchange_rate
Get the definition of MSCI regions (in terms of member countries)
get_index_regions()
get_index_regions()
A dataframe containing columns equity_market
, country
, and
country_iso