Functions for the Grid Square Codes in Japan
Overview
Provides functions for grid square codes in Japan (https://www.stat.go.jp/english/data/mesh/index.html). Generates the grid square codes from longitude/latitude, geometries, and the grid square codes of different scales, and vice versa.
- Add
grid_neighborhood()and deprecategrid_neighbor(). grid_neighborhood()hastypeargument to specify the type of neighborhood and by defaulttype = "von_neumann".- Add
grid_components()to get the connected components of grid square codes. - Rename
grid_citytogrid_city_2020. - Delete deprecated functions.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- Help pages
- 17includes a package overview page
- Examples that run
- 100%2 run in a plain check
- Exported functions with examples
- 13%
- Documented parameters
- 100%
- Return-value docs
- 93%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
12 development-tooling and community-health practices detected across 7 families in the upstream repository
Checks run against github.com/uchidamizuki/jpgrid on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-04-03 · The repository has a site deploy workflow
pkgdown site last built 2025-04-03
Show all practicesHide 3 practices
Dependencies
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.4.0Latest2024-05-26 · current release · diff ↗ ·
removed 11 exports
XY_to_grid, as_tbl_grid, grid_100m, grid_10km, grid_125m, grid_1km, grid_250m, grid_500m, grid_80km, grid_auto, grid_to_XYadded 2 exports
grid_components, grid_neighborhood - RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 0.3.12023-03-26 · diff ↗
- 0.3.02023-02-11 · diff ↗ ·
removed 2 exports
grid_bbox, grid_circleadded 4 exports
coords_to_grid, grid_convert, grid_to_coords, parse_grid - 0.2.12023-01-14 · diff ↗ ·
removed 1 export
grid_rectangleadded 3 exports
as_tbl_grid, grid_bbox, grid_circle - 0.2.02022-05-03
- RR 4.2.0 released · 2022-04-22
Package metadata
- First published
- 2022-05-03
- Total releases
- 5 / 4 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 168 KB / 1 file
- Download size
- 334 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("jpgrid")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.