arcgisutils v0.2.0 on CRAN
This release is the first stable release on CRAN. Precedes {arcgislayers} release
arcgisutils 0.2.0
parse_esri_json()will return an emptydata.framein 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 ofset_arc_token()set_arc_token()allows for multiple named keys which are set to thetoken_envarc_token()fetches tokens directly from thetoken_envunset_arc_token()removes tokens fromtoken_env- intended to be used with
arc_base_req()
- Tokens are now stored in internal environment
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 putsf=jsonin the url instead of the request body- accepts
NULLtokens - uses
req_auth_bearer_token()to include token in header - #8
- accepts
What's Changed
- define arc_token() to retrieve ARCGIS token by @kbvernon in #6
- Make
fetch_layer_metadata()more flexible by @JosiahParry in #8 - User agent by @JosiahParry in #12
- Set minimum version of httr2 to >= 1.0.0 by @JosiahParry in #17
- Generic base request function by @JosiahParry in #18
- Draft: token overhaul by @JosiahParry in #19
- Embed username in token by @JosiahParry in #20
- Handle 0 feature results by @JosiahParry in #21
- handle case where error is present in json by @JosiahParry in #22
- Provide unset token functionality by @JosiahParry in #24
- Fix edge case polyline bug. by @JosiahParry in #26
- [Draft] migrate to {cli} for errors and warnings by @JosiahParry in #28
- use referer instead of refererip by @JosiahParry in #30
New Contributors
Full Changelog: v0.1.1...v0.2.0