Download and combine Reinhart and Rogoff's (2010) crisis dummy variables into one data frame
1 2 3 4 5
RRCrisisGet(urls = c("http://www.carmenreinhart.com/user_uploads/data/22_data.xls", "http://www.carmenreinhart.com/user_uploads/data/35_data.xls", "http://www.carmenreinhart.com/user_uploads/data/23_data.xls", "http://www.carmenreinhart.com/user_uploads/data/25_data.xls"), OutCountryID = "iso2c", message = TRUE, standardCountryName = TRUE)
URLs for each Excel file in the Reinhart and Rogoff data set. See http://www.carmenreinhart.com/data/browse-by-topic/topics/7/.
character string. The type of country ID you would like
to include in the output file along with the country name. See
logical. Whether or not to notify you which of sheets are being cleaned and organised.
logical. Whether or not to standardise the country
names variable based on
Returns a data frame with the following columns:
iso2c: The ISO two letter country code identifying the
country. This can be changed to another country ID system using
country: Country names.
year: The year.
RR_Independence: Year of independence.
RR_CurrencyCrisis: Currency crisis.
RR_InflationCrisis: Inflation crisis.
RR_StockMarketCrash: Stock market crash.
RR_SovDebtCrisisDom: Domestic sovereign debt crisis.
RR_SovDebtCrisisExt: External sovereign debt crisis.
RR_BankingCrisis: Banking crisis.
RR_YearlyCrisisTally: Total number of crises per year.
Reinhart, Camen M. and Kenneth S. Rogoff, ”From Financial Crash to Debt Crisis,” NBER Working Paper 15795, March 2010. Forthcoming in American Economic Review.
1 2 3 4
## Not run: RRDummies <- RRCrisisGest() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.