Skip to content

arcgisutils v0.2.0 on CRAN

Choose a tag to compare

@JosiahParry JosiahParry released this 23 Feb 14:52
· 206 commits to main since this release

This release is the first stable release on CRAN. Precedes {arcgislayers} release

arcgisutils 0.2.0

  • parse_esri_json() will return an empty data.frame in the presence of empty results an error. If an error is present, the error is reported
  • Breaking change to how authorization tokens are handled
    • Tokens are now stored in internal environment token_env
    • set_auth_token() removed in favor of set_arc_token()
    • set_arc_token() allows for multiple named keys which are set to the token_env
    • arc_token() fetches tokens directly from the token_env
    • unset_arc_token() removes tokens from token_env
    • intended to be used with arc_base_req()
  • arc_base_req() is introduce creating a standardized way to making base httr2 request objects.
  • httr2 must be >= 1.0.0 now
  • New function arc_agent() is added to set a package specific user agent
  • fetch_layer_metadata() now puts f=json in the url instead of the request body
    • accepts NULL tokens
    • uses req_auth_bearer_token() to include token in header
    • #8

What's Changed

New Contributors

Full Changelog: v0.1.1...v0.2.0