Skip to content

jpgrid

0.4.0Package record

Functions for the Grid Square Codes in Japan

0packages depend
2.7Kdownloads / year
91.1%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.0
  • Add grid_neighborhood() and deprecate grid_neighbor().
  • grid_neighborhood() has type argument to specify the type of neighborhood and by default type = "von_neumann".
  • Add grid_components() to get the connected components of grid square codes.
  • Rename grid_city to grid_city_2020.
  • Delete deprecated functions.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.0
READMEYes · 258 wordsVignettesNoNEWSYes · 100% structured · mentions 0.4.0Citation fileNoWebsiteYes · pkgdown
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

2.7K
CRAN downloads in the past year
Rank #15,588 · ~7/day · ~223/mo
Daily download trend is not available in this view yet.
30130 days
78390 days
2.7K1 year
Compare downloads with other packages →
Also on62 r2u3 autocran

Repository

10Stars
1Forks
2Open issues
0Open PRs
5Releases
207Commits
1Commit identities
r
207 commits · Last activity 2025-04-03 · 0% stars, 30d · Default branch at 0.4.0.9000, ahead of CRAN 0.4.0 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-10-01 · 102026-07-07 · 10
PracticesBeta

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.

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 (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-04-03 · The repository has a site deploy workflow

pkgdown site last built 2025-04-03

Coverage (1)
Coverage reporting (Codecov)
Reproducibility and dev environment (1)
data-raw/
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
15 external dependencies (excludes base and recommended)

Installing jpgrid adds 33 packages (22 with compiled code, 43 MB of source tarballs). Heaviest: stringi 11 MB, sf 9.3 MB, igraph 4.8 MB.

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

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2022)
Releases (5)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 0.4.0Latest
    record
    2024-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_XY
    added 2 exports
    grid_components, grid_neighborhood
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.3.1
    record
    2023-03-26 · diff ↗
  • 0.3.0
    record
    2023-02-11 · diff ↗ ·
    removed 2 exports
    grid_bbox, grid_circle
    added 4 exports
    coords_to_grid, grid_convert, grid_to_coords, parse_grid
  • 0.2.1
    record
    2023-01-14 · diff ↗ ·
    removed 1 export
    grid_rectangle
    added 3 exports
    as_tbl_grid, grid_bbox, grid_circle
  • 0.2.0
    record
    2022-05-03
  • R
    R 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")
Uchida, M. (2024). jpgrid: Functions for the Grid Square Codes in Japan (Version 0.4.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

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

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.

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