Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 2.5 KB

README.md

File metadata and controls

23 lines (16 loc) · 2.5 KB

Supplemental material for the paper "Community engagement and subgroup meta-knowledge: Some factors in the soul of a community"

The full reference is: McNamara, A. (2019). “Community engagement and subgroup meta-knowledge: some factors in the soul of a community”, Computational Statistics 34(4):1511–1535. https://doi.org/10.1007/s00180-019-00879-x.

The final publication is available at the Springer web site via https://doi.org/10.1007/s00180-019-00879-x. © Springer-Verlag GmbH Germany, part of Springer Nature, 2019.

This repository contains supplementary material for the paper "Community engagement and subgroup meta-knowledge: Some factors in the soul of a community" to enable the reader to reproduce the analysis.

  • PaperFinalDraft.Rnw is the LaTeX/knitr file that produces the paper, including all R code for analysis, in knitr chunks.
  • CodeFinalDraft.R is an R file that contains all the code from the paper, extracted from the .Rnw file using purl().
  • Original Knight Foundation data files are in the data directory, along with supplemental data
  • R packages are archived in the packrat directory
  • Style files from Taylor and Francis are named svjour3.cls and svjour3.clo and the BibTeX bibliography is SoCbib.bib

Please note, while this entire repository is reproducible, the code was initially written in 2013, and it has aged poorly. The code won't run with modern versions of the R packages listed, so it's necessary to use the older versions preserved in the packrat snapshot. In order to get the packrat repository to "hydrate" it seems to be necessary to downgrade R to at least 3.2.1. It's also possible you will need to troubleshoot aspects related to C++ and/or FORTRAN filepaths. Some of my personal struggles getting the code to run on a new computer are documented on RStudio Community. Ideally, you could use the following steps:

  • clone or download this repo to your local machine
  • open the .Rproj
  • install.packages("packrat")
  • hydrate the packrat repository by running packrat::restore()
  • knit the Rnw file

As an alternative, all the packages are installed and currently working in this RStudio Cloud workspace, where anyone should be able to view the project.