geojsonio
Convert Data from and to 'GeoJSON' or 'TopoJSON'
Description
Convert data to 'GeoJSON' or 'TopoJSON' from various R classes, including vectors, lists, data frames, shape files, and spatial classes. 'geojsonio' does not aim to replace packages like 'sp', 'rgdal', 'rgeos', but rather aims to be a high level client to simplify conversions of data from and to 'GeoJSON' and 'TopoJSON'.
Downloads
5.3K
Last 30 days
1588th
19.2K
Last 90 days
93.3K
Last year
Trend: -31.9% (30d vs prior 30d)
15
Last 30 days
110
Last 90 days
342
Last year
Trend: -61.5% (30d vs prior 30d)
216
Last 30 days
714
Last 90 days
3.6K
Last year
Trend: -35.3% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
Code
Structure
Lines of code
12,950
Files
121
Compiled share
0%
Has compiled src
No
Language breakdown
API
Exported functions
24
Internal functions
278
Testing & CI
Has tests
Yes
Test-to-code ratio
0.90
testthat edition
3
CI present
No
CI type
[]
PR gated
No
Docs
Return-value doc rate
63.6%
\dontrun example ratio
72.7%
Roxygen coverage
95.8%
Has pkgdown
No
NEWS present
Yes
Health & Security signals
Informational signals; not verdicts.
on.exit coverage
20%
Unsafe pattern score
0
Dep constraint coverage
36.4%
Secret pattern count
0
Bundled 3rd-party code
2 items
Portability & License
Min R version
3.5
System requirements
–
C++ standard
–
License
MIT + file LICENSE
License flags
SPDX valid, OSI approved
History
Versions
23
First release
2015-04-30
Latest release
2023-09-06
Avg cadence
101 days
Cold removal rate
100%
Dep drift
42
LOC over versions
Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.