Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Search for site names isn't working (brackets?) #242

Open
jessicablois opened this issue Aug 5, 2019 · 1 comment
Open

Search for site names isn't working (brackets?) #242

jessicablois opened this issue Aug 5, 2019 · 1 comment

Comments

@jessicablois
Copy link

Someone (Dani Fraser) emailed me about automating searches for old Faunmap sites. She would like to be able to get data for exact matches, but for some reason the “get_site” call isn’t allowing her to search properly. See below for a screenshot of her error.

The object 'downs' in her first line is a download object from get_download using the dataset.id 4582.

R get site error

@SimonGoring
Copy link
Member

This is also an issue for NeotomaDB/api_nodetest:

This seems to be an API issue, that I need to track down. For instance:

http://api.neotomadb.org/v1/data/sites?sitename=Jaguar%20Cave%20[Cave%20No.%202]

Does not work. We will no longer be updating the v1 API, so there's not much I can do about it. That said, the new API:

http://api-dev.neotomadb.org/v2.0/data/sites?sitename=Jaguar%20Cave%20[Cave%20No.%202]

Returns what we ought to expect. Interestingly though, partial names fail:

http://api-dev.neotomadb.org/v2.0/data/sites?sitename=Jaguar%20Cave%

So, this seems to be an API issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants