Package: rdss 1.0.16

Alexander Coppock

rdss: Companion Datasets and Functions for Research Design in the Social Sciences

Helper functions to accompany the Blair, Coppock, and Humphreys (2023) "Research Design in the Social Sciences: Declaration, Diagnosis, and Redesign" <https://book.declaredesign.org>. 'rdss' includes datasets, helper functions, and plotting components to enable use and replication of the book.

Authors:Graeme Blair [aut], Alexander Coppock [aut, cre], Macartan Humphreys [aut]

rdss_1.0.16.tar.gz
rdss_1.0.16.zip(r-4.7-any)rdss_1.0.16.zip(r-4.6-any)rdss_1.0.16.zip(r-4.5-any)
rdss_1.0.16.tgz(r-4.6-any)rdss_1.0.16.tgz(r-4.5-any)
rdss_1.0.16.tar.gz(r-4.7-any)rdss_1.0.16.tar.gz(r-4.6-any)
rdss_1.0.16.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rdss/json (API)

# Install 'rdss' in R:
install.packages('rdss', repos = c('https://declaredesign.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/declaredesign/rdss/issues

Pkgdown/docs site:https://declaredesign.org

Datasets:
  • bonilla_tillery - Replication data for Bonilla and Tillery
  • clingingsmith_etal - Replication data for Clingingsmith, Khwaja, and Kremer (2009), Quarterly Journal of Economics
  • fairfax - Shapefile of Fairfax County, Virginia, voting precincts
  • foos_etal - Replication data for Foos, John, Muller, and Cunningham
  • la_voter_file - Voter file sample for Los Angeles County
  • lapop_brazil - Teaching data based on the 2018/19 LAPOP AmericasBarometer survey of Brazil

On CRAN:

Conda:

4.74 score 1 stars 43 scripts 1.8k downloads 24 exports 59 dependencies

Last updated from:a5719f08a3. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK288
source / vignettesOK532
linux-releaseOK220
macos-releaseOK178
macos-oldrelOK181
windows-develOK180
windows-releaseOK191
windows-oldrelOK204
wasm-releaseOK201

Exports:add_parensbest_predictorcausal_forest_handlerconjoint_assignmentconjoint_inquiriesconjoint_measurementdd_palettedid_multiplegt_tidyestimator_AS_tidyformat_numget_exposure_ASget_rdss_filehex_add_alphalag_by_groupmake_interval_entrymake_se_entrypost_stratification_helperprocess_tracing_estimatorrdrobust_helperrma_helperrma_mu_tautheme_ddtidytidy_stan

Dependencies:askpassbackportsbitbit64broomcachemcheckmateclicliprcpp11crayoncurldataversedplyrestimatrfarverfastmapFormulagenericsggplot2gluegtablehmshttrisobandjsonlitelabelinglifecyclemagrittrmemoisemimeopensslpillarpkgconfigprettyunitsprogresspurrrR6randomizrRColorBrewerRcppRcppEigenreadrrlangS7scalesstringistringrsystibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrxml2

Readme and manuals

Help Manual

Help pageTopics
Add parentheses around standard error estimatesadd_parens
Find the covariate that best predicts treatment effect heterogeneitybest_predictor
Replication data for Bonilla and Tillery (2020), American Political Science Review (obtained from Dataverse 10.7910/DVN/IUZDQI)bonilla_tillery
Tidy helper function for causal_forest functioncausal_forest_handler
Replication data for Clingingsmith, Khwaja, and Kremer (2009), Quarterly Journal of Economicsclingingsmith_etal
Conjoint experiment assignment handler: conducts complete random assignment of all attribute levelsconjoint_assignment
Conjoint experiment inquiries handlerconjoint_inquiries
Conjoint experiment measurement handler: records which profile in each task is chosenconjoint_measurement
Color palettes used in the book Research Design in the Social Sciencesdd_palette
Tidy helper function for did_multiplegtdid_multiplegt_tidy
Tidy helper function for estimator_AS functionestimator_AS_tidy
Shapefile of Fairfax County, Virginia, voting precinctsfairfax
Replication data for Foos, John, Muller, and Cunningham (2021), Journal of Politics (derived from Dataverse 10.7910/DVN/NDPXND)foos_etal
Round and pad a number to a specific decimal placeformat_num
Helper function to obtain the observed exposure for the Aronow and Samii estimatorget_exposure_AS
Download a replication file from the dataverse archive for Research Design in the Social Sciences: Declaration, Diagnosis, and Redesignget_rdss_file
Add alpha transparency to a color defined in hexadecimalhex_add_alpha
Voter file sample for Los Angeles Countyla_voter_file
Generate lags in grouped datalag_by_group
Teaching data based on the 2018/19 LAPOP AmericasBarometer survey of Brazillapop_brazil
Format confidence intervals for nice printingmake_interval_entry
Format estimates and standard errors for nice printingmake_se_entry
Post stratification estimator helperpost_stratification_helper
Process tracing estimatorprocess_tracing_estimator
Helper function for using rdrobust as a model in 'declare_estimator'rdrobust_helper
rdss packagerdss-package rdss
Helper function for rma function in metafor packagerma_helper
Extract mu and tau-squared from a random-effects meta-analysisrma_mu_tau
ggplot theme used in the book Research Design in the Social Sciencestheme_dd
Tidy results from a stanreg regression (deprecated)tidy_stan
Tidy estimates from the amce estimatortidy.amce
Tidy helper function for rdrobust functiontidy.rdrobust