# geocompx/geocompr

Geocomputation with R: an open source book

Repository: https://github.com/geocompx/geocompr
Canonical: https://ross.abutalabs.com/products/geocompr
Homepage: https://r.geocompx.org/
Language: R
License: NOASSERTION
License Family: other
Topics: r, spatial, book, geo, geospatial, geospatial-data, simple-features, raster, maps, mapping-tools, education, rstats, rspatial, geos, gdal, postgis, course, geography, geocomputation, geocompx
Last push: 2026-07-30T08:33:15+00:00

## Health v2 (maintenance only)
Score: 66/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 95, release rhythm 8, longevity 100
- inputs: {"age_days": 3466, "days_push": 34, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1788, forks 617 (observed 2026-08-28T04:05:36.333809+00:00)

## What it is
An open source book, 'Geocomputation with R', teaching geographic data analysis, visualization, and modeling in R, with all source code and prose hosted on GitHub. It is actively maintained with a second edition published by CRC Press and an up-to-date online version at r.geocompx.org.

## Use cases
- learn geospatial data analysis in R
- how to make maps with R and ggplot2
- work with raster and vector spatial data in R
- reproducible geographic data science workflows
- course material for teaching geocomputation
- read and write shapefiles and GeoPackages in R
- spatial statistics and modeling tutorials

## When to choose
- you want a free, open, reproducible textbook on geographic data analysis with R
- you need runnable code examples via Binder, Docker, or RStudio Cloud
- you are teaching or self-studying GIS/geocomputation using R packages like sf, terra, and leaflet

## When to avoid
- you need geospatial tooling in Python or another language rather than R
- you want a GUI-based GIS application instead of code-driven workflows
- you require a commercial license or formal training support

## Facets
- artifact type: learning-resource
- maturity: active
- function: data-visualization, geospatial, documentation
- domain: education, data-science
- platform: python, cross-platform
- tags: r, book, bookdown, geocomputation, spatial-analysis, gdal, postgis, open-source-book, geospatial, maps

## Member repositories
- geocompx/geocompr (main) score 66

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:36.333809+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:23:26.536755+00:00, confidence not recorded.
  - readme: https://github.com/geocompx/geocompr (fetched 2026-08-28T04:05:36.333809+00:00, sha 324ebf7fe467)
  - homepage: https://r.geocompx.org/ (fetched 2026-08-29T11:02:14.024243+00:00, sha 48e4de6cdaf8)
- Data as of 2026-08-30T08:39:29.467469+00:00.
