You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The VertNet API feedback function is actually just a URL for submitting a GitHub issue for a particular record via the VertNet portal. This makes it super straight forward to submit data issues without needing to authenticate API access to GitHub.
Given a record received through the VertNet Search API, the URL can be created like this:
varkeyname=record['keyname'];vartokens=keyname.split('/');varpublisher=tokens[0];varresource=tokens[1];varoccurrence=tokens.splice(2).join('/');varpath=[publisher,resource].join('/')+'?id='+occurrence;varurl='http://portal.vertnet.org/o/'+path;// URL for submitting a GitHub issue