R Use Cases
Practical examples for querying, analyzing, and visualizing GJD data with R
Welcome
This section contains reproducible R examples that demonstrate how to work with the Green Jurisdiction Database (GJD). Each use case is a self-contained Quarto notebook (.qmd) that you can run locally.
What you’ll find here
- Get Started — Everything you need to set up your environment and start running the examples.
- Use Cases — Step-by-step notebooks covering real-world scenarios with GJD data.
How it works
Every example is written as a Quarto document. The R code inside each notebook actually executes when the site is built, so the outputs (tables, plots, statistics) are always up to date.
You can:
- Browse online — Read the rendered HTML pages right here.
- Clone and run — Clone the repo, open any
.qmdfile, and run it locally to reproduce the results. - Adapt — Use the examples as templates for your own analysis.
Head over to Get Started to set up your environment.
Use Cases
| # | Use Case | Description |
|---|---|---|
| 01 | Forest Cover in Caquetá | Query forest cover data for Caquetá, Colombia (2010–2019), visualize with bar charts, and compare with Putumayo. |
| 02 | Deforestation in Acre | Query deforestation data for Acre, Brazil (2010–2019) using PRODES, and compare across data sources. |