Will convert a human-readable URL to a valid REST API call supported by Socrata. It will accept a valid API URL if provided by users and will also convert a human-readable URL to a valid API URL. Will accept queries with optional API token as a separate argument or will also accept API token in the URL query. Will resolve conflicting API token by deferring to original URL.
validateUrl(url, app_token)
a - valid Url
- a string; character vector of length one
- a string; SODA API token used to query the data portal https://dev.socrata.com/consumers/getting-started.html
Tom Schenk Jr tom.schenk@cityofchicago.org