This repository contains the data and code for our paper:
Robinson, Erick , R. Kyle Bocinsky , Darcy Bird , Jacob Freeman , Robert L. Kelly, (2020). Dendrochronological dates confirm a Late Prehistoric population decline in the American Southwest derived from radiocarbon dates. Philosophical Transactions of the Royal Society B 376:20190718. https://doi.org/10.1098/rstb.2019.0718
Please cite this compendium as:
Bocinsky, R. Kyle, Darcy Bird, and Erick Robinson, (2020). Compendium of R code and data for Dendrochronological dates confirm a Late Prehistoric population decline in the American Southwest derived from radiocarbon dates. Accessed [TODAY'S DATE].
The 📁 analysis directory contains:
- 📄 robinson2020: R
Markdown source document for the manuscript. Includes code to
reproduce the figures and tables generated by the analysis. It also
has a rendered version,
robinson2020.pdf
, suitable for reading (the code is replaced by figures and tables in this file). - 📁 data: Data used in the analysis.
- 📁 figures: Plots and other illustrations
The simplest way to explore the text, code and data is to click on binder to open an instance of RStudio in your browser, which will have the compendium files ready to work with. Binder uses (rocker-project.org)[rocker-project.org Docker] images to ensure a consistent and reproducible computational environment. These Docker images can also be used locally.
You can download the compendium as a zip from from this URL:
master.zip. After unzipping, open the Proj
file
in RStudio, and run devtools::install()
to ensure you have the
packages this analysis depends on (also listed in the
DESCRIPTION file). Then open robinson2020.Rmd
and knit
to produce the paper in PDF format.
Or, simply install straight from Github:
# install.packages("devtools")
devtools::install_github("people3k/robinson2020")
Text and figures : CC-BY-4.0
Code : GNU GPLv3
Data : CC-0 attribution requested in reuse
We welcome contributions from everyone. Before you get started, please see our contributor guidelines. Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
This compendium was created using the rrtools
package by Ben
Marwick, which is ✨ pure magic ✨
for doing reproducible research.