Package: rdss 1.0.12

Graeme Blair

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

Helper functions to accompany the Blair, Coppock, and Humphreys (2022) "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, cre], Alexander Coppock [aut], Macartan Humphreys [aut]

rdss_1.0.12.tar.gz
rdss_1.0.12.tar.gz(r-4.5-noble)rdss_1.0.12.tar.gz(r-4.4-noble)
rdss_1.0.12.tgz(r-4.4-emscripten)rdss_1.0.12.tgz(r-4.3-emscripten)
rdss.pdf |rdss.html
rdss/json (API)
NEWS

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

Peer review:

Datasets:
  • bonilla_tillery - Replication data for Bonilla and Tillery
  • clingingsmith_etal - Replication data for David Clingingsmith, Asim Ijaz Khwaja, Michael Kremer (2020): Estimating the Impact of The Hajj: Religion and Tolerance in Islam's Global Gathering. The Quarterly Journal of Economics, Volume 124, Issue 3, August 2009, Pages 1133-1170
  • 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 - Data used in student exercises for RDSS based on LAPOP survey of Brazil in 2018

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

2.76 score 29 scripts 100 downloads 24 exports 66 dependencies

Last updated 3 months agofrom:09eecc62cf. Checks:OK: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKDec 25 2024
R-4.5-linuxOKDec 25 2024

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:askpassbackportsbitbit64broomcheckmateclicliprcolorspacecpp11crayoncurldata.tabledataversedplyrestimatrfansifarverFormulagenericsggplot2gluegtablehmshttrinsightisobandjsonlitelabelinglatticelifecyclemagrittrmarginaleffectsMASSMatrixmgcvmimemunsellnlmeopensslpillarpkgconfigprettyunitsprogresspurrrR6randomizrRColorBrewerRcppRcppEigenreadrrlangscalesstringistringrsystibbletidyrtidyselecttzdbutf8vctrsviridisLitevroomwithrxml2

Readme and manuals

Help Manual

Help pageTopics
Add parentheses around standard error estimatesadd_parens
Best predictor function from causal_forestbest_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 David Clingingsmith, Asim Ijaz Khwaja, Michael Kremer (2020): Estimating the Impact of The Hajj: Religion and Tolerance in Islam's Global Gathering. The Quarterly Journal of Economics, Volume 124, Issue 3, August 2009, Pages 1133-1170clingingsmith_etal
Conjoint experiment assignment handler: conducts complete random assignment of all attribute levelsconjoint_assignment
Conjoint experiment inquiries handlerconjoint_inquiries
Conjoint experiment assignment handler: conducts complete random assignment of all attribute levelsconjoint_measurement
Access color palette used in the book "Research Design: Declare, Diagnose, Redesign" (Blair, Coppock, Humphreys)dd_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 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
Data used in student exercises for RDSS based on LAPOP survey of Brazil in 2018lapop_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 parameters from rma model fitrma_mu_tau
ggplot Theme used in the book "Research Design: Declare, Diagnose, Redesign" (Blair, Coppock, Humphreys)theme_dd
Tidy results from a stanreg regresion and exponentiate the estimated coefficienttidy_stan
Tidy estimates from the amce estimatortidy.amce
Tidy helper function for rdrobust functiontidy.rdrobust