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

Empty columns are not returned in json view of pbdb_occurrences #45

Open
javigzz opened this issue Feb 24, 2019 · 0 comments
Open

Empty columns are not returned in json view of pbdb_occurrences #45

javigzz opened this issue Feb 24, 2019 · 0 comments

Comments

@javigzz
Copy link

javigzz commented Feb 24, 2019

Hello,
Some time ago we received an issue for the R package (ropensci/paleobioDB#18) regarding the response to the json requests. By comparing with the txt or csv version, the json requests for pbdb_occurrences do not include the empty columns.
In the issue linked you may see it with
https://paleobiodb.org/data1.1/occs/list.txt?base_name=Dicellograptus&show=abund&limit=all and
https://paleobiodb.org/data1.1/occs/list.json?limit=all&base_name=Dicellograptus&show=abund&vocab=pbdb
where the json lacks the "reid_no","superceded","abund_value","abund_unit" contrary to the txt.

Is this a know / desired behavior? Although is not too problematic, it could potentially cause some issue if lets say a second request expects (or not expects) some given columns which do not come come (or do come) with a first request. Would be desirable to get even the empty columns for consistency.

Thanks!
Javier

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

1 participant