https://github.com/corybrunson/econpanel
R package for economic experts panel survey data
https://github.com/corybrunson/econpanel
economics likert-data missing-data panel-data survey-data
Last synced: 2 months ago
JSON representation
R package for economic experts panel survey data
- Host: GitHub
- URL: https://github.com/corybrunson/econpanel
- Owner: corybrunson
- Created: 2016-11-21T17:00:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-12-26T21:00:40.000Z (over 7 years ago)
- Last Synced: 2025-02-05T00:41:44.149Z (4 months ago)
- Topics: economics, likert-data, missing-data, panel-data, survey-data
- Language: HTML
- Homepage:
- Size: 1.89 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# econpanel
## Summary
This is an R package for collecting and formatting response data from several surveys of economists conducted by the [Booth School of Business](https://www.chicagobooth.edu/) at the University of Chicago and the [Centre for Macroeconomics](http://cfmsurvey.org/).
I will update the dataset semesterly (but feel free to poke me if i seem to have forgotten!). The functions used to scrape the websites are not exported as a way of discouraging unnecessary scraping.
## Installation
Install the package as follows:
```r
if (!require(devtools)) install.packages("devtools")
devtools::install_github("corybrunson/econpanel", build_vignettes = TRUE)
```## Datasets
The package contains the following datasets:
* `igm` contains question statements and responses from the [Initiative on Global Markets Economic Experts Panel](http://www.igmchicago.org/igm-economic-experts-panel).
* `eigm` contains the corresponding data from the [IGM European panel](http://www.igmchicago.org/european-economic-experts-panel).
* `cfm` contains question statements and responses from the [Centre for Macroeconomics](http://cfmsurvey.org/).
* `planetmoney` contains question statements and response tallies (not individual responses) from [a 2016 story by Planet Money](http://www.npr.org/sections/money/2016/02/26/468298576/economists-on-candidates-proposals-mostly-bad) on economists' opinions about the U.S. presidential candidates' economic proposals. The panelists were drawn from the IGM pool.Load the datasets as follows:
```r
data(planetmoney, package = "econpanel")
```The vignette "exploration" illustrates some questions and answers pursuable through these datasets. Access it as follows:
```r
vignette(topic = "exploration", package = "econpanel")
```## Acknowledgments
I borrowed some insight from code at [Chris Said's `economist_poll` repo](https://github.com/csaid/economist_poll). Also invaluable have been [Hadley Wickam's `rvest` package](http://blog.rstudio.org/2014/11/24/rvest-easy-web-scraping-with-r/) and the [SelectorGadget](http://selectorgadget.com/) Chrome extension.