Reproducible R-based mapping workflows for the California Sentinel Sites for Nature (CA-SSN) program — a statewide network of long-term ecological monitoring sites managed by CDFW, UCNRS, CSU, TNC, and Pepperwood.
| Project | Description |
|---|---|
projects/_reference |
Canonical spatial registry of all 109 CA-SSN sites |
projects/gap-maps |
GAP protection status (PAD-US 4.1) mapped across all CA-SSN sites |
projects/2026-04_ssn-deployment |
UCNRS sentinel site deployment progress maps |
cassn-mapping-R/
├── projects/
│ ├── _reference/ # canonical site registry
│ ├── gap-maps/ # GAP protection status analysis
│ └── 2026-04_ssn-deployment/ # UCNRS deployment progress
├── _templates/
│ └── project_skeleton/ # template for new projects
└── docs/
Each project follows the same internal structure:
<project>/
├── data_raw/ # source inputs (user-maintained or downloaded)
├── data/ # processed outputs (generated by scripts)
├── outputs/ # maps and other deliverables
└── scripts/ # R scripts and Quarto documents
- R (≥ 4.1)
- Git LFS — required to pull large geospatial files tracked with LFS:
git lfs install git lfs pull - Quarto — required to render
.qmdreports/maps
R packages are installed per-project into a local .Rlib/ directory by each project's 00_setup.R. No global package installation needed.
data_raw/— raw inputs; user-maintained CSVs or downloaded data. Never overwritten by scripts.data/— processed outputs generated by scripts. Safe to regenerate.outputs/— final deliverables (maps, tables). Generated by scripts.- Path detection — scripts resolve file paths whether run from the project root or the
scripts/subdirectory. - Package isolation — each project installs packages into its own
.Rlib/to avoid conflicts.