Lookup tables and variable metadatatibbles that obtain, link, collpase, and describe ACS and CCES values |
|
---|---|
|
CCES-ACS variable key value pairs for recoding |
Identifiers for datasets in CCES Dataverse |
|
ACS code lookup table |
|
|
ACS codes for partitions |
CPS variable labels and counts |
|
Reading DataFunctions that read in CCES and ACS data from an API |
|
Obtain a ACS tabulation from tidycensus |
|
Obtain CVAP proportions by race |
|
Download a specific CCES dataset from dataverse, with some indexing |
|
Get one column of outcome questions for each model |
|
Formats a post-strat table from ACS and district-level data |
|
Sample datasetsSamples of datasets one can get from the data loading functions |
|
Sample cumulative CCES data |
|
Sample 2018 Common Content |
|
Sample 2018 New York CCES |
|
|
Congressional District level information by The Downballot |
Congressional District level information - long version |
|
Question metadata (sample) |
|
Data recoding and cleaningFunctions that standardize and clean variable names and formats |
|
Discretize a vector of age integers into labelled variables |
|
Recode CCES variables so that they merge to ACS variables |
|
Concatenate to Congressional District code |
|
Format CD format from ACS |
|
Build CCES Data by Joining Component Pieces |
|
Translate a Yes/No variable into 1/0 |
|
Data collapsing and reshapingWrangling cleaned data for apporpriate modeling |
|
Collapse CCES data to be analyzed in binomial model |