Skip to content

griddy

0.1.0Package record

Geospatial Distribution Dynamics for Simple Features

0packages depend
1.5Kdownloads / year
76.5%test coverage
13/13flavors OK

Overview

About

Tools for exploratory geospatial distribution dynamics with 'sf' objects and tidy data. Provides pooled and time-specific classification of longitudinal spatial values, classic discrete Markov transition matrices, spatial Markov matrices conditioned on spatial-lag classes, endpoint and adjacent rank mobility summaries, and 'ggplot2' visualizations. Methods follow Rey (2001) doi:10.1111/j.1538-4632.2001.tb00444.x and Rey et al. (2016) doi:10.1007/s10109-016-0234-x; design is inspired by the Python 'PySAL' 'giddy' package https://pysal.org/giddy/.

Changes in 0.1.0

Initial CRAN release.

Workflow

  • classify_dynamics(), markov_dynamics(), spatial_markov(), and rank_mobility() accept long sf panels keyed by explicit id, time, and value columns.
  • transition_matrix(), steady_state(), class_intervals(), and lag_intervals() provide tidy access to results.
  • plot_transition_matrix(), plot_spatial_markov(), and plot_rank_mobility() return ggplot2 objects.

Spatial weights

  • spatial_markov() accepts a geometry argument: an sf tibble with one row per spatial unit and nb / wt list-columns produced by sfdep. This is the preferred input. listw and nb arguments remain accepted for compatibility with prior workflows and oracle comparisons.
Show all changes in 0.1.0Hide the rest of the changes in 0.1.0

Data

  • Bundled usjoin: 48 contiguous US state per-capita personal income, 1929–2009, mirroring PySAL's reference dataset for spatial Markov examples.

Validation

  • Static fixtures cross-checked against estdaR::sp.mkv() and spdyn::spMarkov(). Optional live cross-checks run when those packages or PySAL giddy are installed.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.8 min · r-devel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • WARNING12 OK, 1 WARNING2026-06-08
  • OK5 OK2026-05-31
Advisories

none known

Documentation

In release 0.1.0
READMEYes · 285 wordsVignettesYes · 1 · dynamicNEWSYes · 67% structured · mentions 0.1.0Citation fileYes · cites a publicationWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
13 (1 internal)includes a package overview page
Examples that run
100%11 run in a plain check (10 of them under a condition)
Exported functions with examples
91%
Documented parameters
83%
Return-value docs
100%
Help pages citing references
8%

Downloads

1.5K
CRAN downloads in the past year
Rank #15,892 · ~4/day · ~122/mo
Daily download trend is not available in this view yet.
25030 days
78590 days
1.5K1 year
Compare downloads with other packages →
Also on19 r2u2 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
0Releases
32Commits
1Commit identities
32 commits · Last activity 2026-08-02 · 0% stars, 30d · Default branch at 0.2.0, ahead of CRAN 0.1.0 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
not measured
Median days to close, 50 most recently updated closed PRs
5

Stars over time

2026-07-07 · 02026-09-07 · 1
PracticesBeta

7 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/dshkol/griddy on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-08-02 · The repository has a site deploy workflow

pkgdown site last built 2026-05-26, before release 0.1.0 (2026-05-30)

Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-04-27
    Named in .Rbuildignore: .claude
    Named in .gitignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 7 crediting it in the message
Models named in its commits
  • Claude Fable 57 commits · Jun to Jul 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing griddy adds 42 packages (26 with compiled code, 58 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, ggplot2 6.0 MB.

Depends (1)
R >= 4.2
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.1.0 (2026)
Releases (1)
  • 0.1.0Latest
    2026-05-30 · current release
  • R
    R 4.6.0 released · 2026-04-24

Package metadata

First published
2026-05-30
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.2
Bundled data
7.0 KB / 1 file
Download size
236 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("griddy")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for griddy version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-10-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy