Interface to the OpenCage API

Tool for accessing the OpenCage API, which provides forward geocoding (from placename to longitude and latitude) and reverse geocoding (from longitude and latitude to placename).


opencage 0.1.4

  • Bug fix: now the countrycode argument can be used for Namibia thanks to Daniel Possenriede.

opencage 0.1.3

  • Added a add_request parameter (for appending original query to results).

opencage 0.1.2

opencage 0.1.1

opencage 0.1.0

  • Added a file to track changes to the package.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.1.4 by Maëlle Salmon, 2 months ago

Report a bug at

Browse source code at

Authors: Maëlle Salmon [aut, cre], Noam Ross [ctb], Julia Silge [rev] (Julia Silge reviewed the package for rOpenSci, see, Jake Russ [ctb], Daniel Possenriede [ctb]

Documentation:   PDF Manual  

Task views: Web Technologies and Services

GPL (>= 2) license

Imports httr, jsonlite, dplyr, memoise

Suggests testthat, lintr, knitr, rmarkdown

See at CRAN