Skip to content

opencage 0.3.0

Latest

Choose a tag to compare

@dpprdan dpprdan released this 31 Oct 11:33

Breaking changes

  • The min_confidence parameter is not supported by the OpenCage API anymore and has been marked defunct (#175).
  • opencage_forward(), opencage_reverse(), and opencage_key() are now deprecated (leveling up from soft-deprecated, #147).
  • The minimal required version of tidyr was raised to v1.0.0 (#169).

Improvements

  • opencage now supports an address_only parameter, see "New optional API parameter 'address_only'", (#151).
  • The geocoding functions will not send a query to the API anymore if no API key is present (#133).
  • NAs are allowed again for the placename or latitude/longitude arguments (also empty strings for placename).
    These queries are not sent to the API.
    An empty/NA response will be returned depending on the specific query (#143).

Internals

  • {opencage} now uses {testthat} 3e for unit tests (#141).
  • Use {lintr} version 3.0 and add "package development" linters (#144).
  • countrycodes source and script were moved to data-raw (#146).
  • Add CITATION.cff and a corresponding GitHub action (#148).
  • select() expressions inside oc_forward_df() and oc_reverse_df() now use "column" instead of .data$column, because the latter is deprecated as of tidyselect v1.2.0 (#150).
  • Dataframes in the opencage and customise query vignettes are now rendered with the knitr::kable() print method (#166).
  • The opencage code now uses a consistent style (styler::tidyverse_style()) and all internal functions are documented (#153).
  • GitHub action workflows have been updated (#142, #149, #152), #164).
  • Styler, document, and rhub GitHub action workflows have been added (#153, #164).
  • Tests are updated to reflect changes in API responses (#163, #165)