This repository contains my attempt to reproduces figures from FiveThirtyEight's How Americans View Biden's Response To The Coronavirus Crisis.
This project utilizes Python programming language. To reproduce this result, clone this repo by
git clone https://github.com/DamarisDeng/bst270-project.git
cd bst270-project
To install packages used to build this project, create a conda environment and use the requirement.txt
file to install all dependencies.
conda env create -n project
conda activate project
pip install -r requirements.txt
A complete code for reproduction is available at ./code/covid-response.ipynb
.
The data set used for the reproduction analysis is available at ./data/covid_approval_toplines.csv
. It contains the calculated daily averages for the approval polls.
Column | Description |
---|---|
subject |
This column marks whose handling of covid-19 the approval poll is about, the value can be Trump or Biden |
modeldate |
Date of this summary info. |
party |
Party of respondents |
approve_estimate |
The percentage of people who approves. |
disapprove_estimate |
The percentage of people who approves. |
timestamp |
The time point for the summary work. |