Skip to content

opencage

0.2.2

Geocode with the OpenCage API

0packages depend
5.3Kdownloads / year
72.1%test coverage
13/13flavors OK

Overview

About

Geocode with the OpenCage API, either from place name to longitude and latitude (forward geocoding) or from longitude and latitude to the name and address of a location (reverse geocoding), see https://opencagedata.com/.

Changes in 0.2.2
  • Fixed a test that caused an error on CRAN's Solaris (#131).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.6 min · r-oldrel-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
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.2
README· In the repository, left out of the releaseVignettesYes · 3 · staticNEWSYes · 100% structured · mentions 0.2.2Citation fileNoWebsiteYes · pkgdown
Help pages
16 (3 internal)includes a package overview page
Examples that run
100%10 run in a plain check (7 of them under a condition)
Exported functions with examples
69%
Documented parameters
94%
Return-value docs
77%
Help pages citing references
0%

Downloads

5.3K
CRAN downloads in the past year
Rank #11,467 · ~14/day · ~440/mo
Daily download trend is not available in this view yet.
33730 days
91490 days
5.3K1 year
Compare downloads with other packages →
Also on95 r2u6 autocran145 c2d4u

Repository

89Stars
11Forks
2Open issues
3Open PRs
4Releases
510Commits
12Commit identities
rstatsrspatialgeocodeopencage-geocoderropencage-apiopencagegeocoder
510 commits · Last activity 2026-10-11 · 0% stars, 30d · Default branch at 0.2.2.9000, ahead of CRAN 0.2.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
84%
Median days to close, 50 most recently updated closed issues
92
Median days to close, 50 most recently updated closed PRs
4

Stars over time

2025-04-09 · 872026-07-07 · 89
PracticesBeta

16 development-tooling and community-health practices detected across 9 families in the upstream repository

Checks run against github.com/ropensci/opencage on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (4)
Code of conduct (inherited from ropensci)Contributing guideIssue templatesPR template
Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting
Show all practicesHide 5 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdrevdep/
Research and citation (1)
CITATION.cff
Automation and maintenance (1)
Dependabot
Lint, format, editor (3)
lintrLint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing opencage adds 37 packages (20 with compiled code, 22 MB of source tarballs). Heaviest: stringi 11 MB, Rcpp 1.8 MB, jsonlite 1.0 MB.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (6)
Author, Maintainer since 0.2.1 (2021) · added in 0.1.4
Author · added in 0.2.1
Contributor
Contributor · added in 0.1.4
Reviewer
Julia Silge reviewed the package for rOpenSci, see https://github.com/ropensci/onboarding/issues/36.

Previously maintained by Maëlle Salmon (0.1.0 to 0.1.4).

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
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.2.2Latest
    record
    2021-02-20 · current release · diff ↗
  • 0.2.1
    record
    2021-02-14 · diff ↗ ·
    added 10 exports
    oc_api_ok, oc_bbox, oc_clear_cache, oc_config, oc_forward, oc_forward_df, oc_key_present, oc_points, oc_reverse, oc_reverse_df
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 0.1.4
    record
    2018-01-16 · diff ↗
  • 0.1.2
    record
    2017-05-12 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 0.1.0
    record
    2016-05-12
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-05-12
Total releases
5 / 10 yrs
License
GPL (>= 2) OSI
Bundled data
0.8 KB / 1 file
Download size
101 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("opencage")
Possenriede, D., Ross, N., Russ, J., Sadler, J., Salmon, M., & Silge, J. (2021). opencage: Geocode with the OpenCage API (Version 0.2.2) [Computer software]. https://doi.org/10.32614/CRAN.package.opencage

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

The repository also keeps a CITATION.cff.

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 opencage version 0.2.2 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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