RRCrisisGet: Download and combine Reinhart and Rogoff's (2010) crisis...

Description Usage Arguments Value Source Examples

Description

Download and combine Reinhart and Rogoff's (2010) crisis dummy variables into one data frame

Usage

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)

Arguments

urls

URLs for each Excel file in the Reinhart and Rogoff data set. See http://www.carmenreinhart.com/data/browse-by-topic/topics/7/.

OutCountryID

character string. The type of country ID you would like to include in the output file along with the country name. See countrycode for available options.

message

logical. Whether or not to notify you which of sheets are being cleaned and organised.

standardCountryName

logical. Whether or not to standardise the country names variable based on country.name from countrycode.

Value

Returns a data frame with the following columns:

Source

Reinhart, Camen M. and Kenneth S. Rogoff, ”From Financial Crash to Debt Crisis,” NBER Working Paper 15795, March 2010. Forthcoming in American Economic Review.

Examples

1
2
3
4
## Not run: 
 RRDummies <- RRCrisisGest()
 
## End(Not run)

psData documentation built on May 2, 2019, 3:39 p.m.