Closed damianooldoni closed 2 weeks ago
Thanks for the suggestions Damiano, I've updated the documentation. It might be a few days before it shows on techdocs.gbif.org, as some other updates are also being made to other sections. (It's on techdocs.gbif-uat.org
.)
Feedback on Species occurrence cubes (Github source for this page)
Hi 👋
Based on my own tests and the Slack conversation between @MattBlissett and @beukueb on the B3 channel this summer, I think we need an extra example on how to prepare the SQL query for being placed in a
query.json
file.Important things to mention:
\"
instead of"
while quoting column names in the SQL query, e.g.\"year\"
. This is due to the fact that the SQL is passed in the json file as a string between double quotes"SELECT ..."
. Not so obvious, I think.-- Dimensions:
. @MattBlissett: maybe do you know ways to pass such comments in the SQL string in thequery.json
file?query.json
. To be added at the end of the page. Here below the content of myjson
file passing the validation step based on the things mentioned just above:I would also mention that the name
query.json
is not mandatory. The user can give a more meaningful name to the json file. This should be mentioned asap, so something for the API SQL Download.If I have other ideas, I will make new issues or I will add a comment here. Thanks in advance already for the great job GBIF is doing! 💪