Skip to content

geojsonio

Convert Data from and to 'GeoJSON' or 'TopoJSON'

v0.11.3 · Sep 6, 2023 · MIT + file LICENSE

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

CRAN

5.3K

Last 30 days

1588th

19.2K

Last 90 days

93.3K

Last year

Trend: -31.9% (30d vs prior 30d)

r2u CRAN

15

Last 30 days

110

Last 90 days

342

Last year

Trend: -61.5% (30d vs prior 30d)

conda-forge CRAN

216

Last 30 days

714

Last 90 days

3.6K

Last year

Trend: -35.3% (30d vs prior 30d)

CRAN Check Status

13 OK
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

R 5,278 (40.8%)Tests 4,754 (36.7%)Docs 2,918 (22.5%)

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

v0.1.0: 5,104 LOCv0.1.4: 6,579 LOCv0.1.6: 7,354 LOCv0.1.8: 7,389 LOCv0.2.0: 7,382 LOCv0.3.0: 8,548 LOCv0.3.2: 8,557 LOCv0.3.8: 8,661 LOCv0.4.0: 9,747 LOCv0.4.2: 9,763 LOCv0.5.0: 10,961 LOCv0.6.0: 11,414 LOCv0.7.0: 10,896 LOCv0.8.0: 11,199 LOCv0.9.0: 11,438 LOCv0.9.2: 11,234 LOCv0.9.4: 10,942 LOCv0.9.5: 11,722 LOCv0.10.0: 13,797 LOCv0.11.0: 13,759 LOCv0.11.1: 13,683 LOCv0.11.2: 13,692 LOCv0.11.3: 12,950 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Reverse Dependencies (15)

depends

Dependency Network

Dependencies Reverse dependencies crul geojson geojsonsf jqr jsonlite (>= 0.9.21) magrittr readr sf sp V8 webglobe antaresViz appeears geeLite rmapzen spectralR tabs valhallr StratifiedSampling csdata highcharter leaftime rgee rtemis vchartr geojsonio

Version History

24 tracked
new 0.11.3 Mar 10, 2026
updated 0.11.3 ← 0.11.2 diff Sep 5, 2023
updated 0.11.2 ← 0.11.1 diff Aug 20, 2023
updated 0.11.1 ← 0.11.0 diff May 15, 2023
updated 0.11.0 ← 0.10.0 diff Mar 7, 2023
updated 0.10.0 ← 0.9.5 diff Oct 6, 2022
updated 0.9.5 ← 0.9.4 diff Sep 12, 2022
updated 0.9.4 ← 0.9.2 diff Jan 12, 2021
updated 0.9.2 ← 0.9.0 diff Apr 6, 2020
updated 0.9.0 ← 0.8.0 diff Feb 12, 2020
updated 0.8.0 ← 0.7.0 diff Oct 28, 2019
updated 0.7.0 ← 0.6.0 diff Apr 24, 2019
updated 0.6.0 ← 0.5.0 diff Mar 29, 2018
updated 0.5.0 ← 0.4.2 diff Nov 9, 2017
updated 0.4.2 ← 0.4.0 diff Aug 31, 2017