-
-
Notifications
You must be signed in to change notification settings - Fork 69
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
Data export in JSON and CSV #10
Comments
implemented in master. |
The output looks good. One issue is that if you are running under a non-standard port such as the default port 8000 the URL's fail due to missing port. Is it possible to add port numbers to the URL's in the CSV and JSON output if required? |
The same issue applies for ports in the URL's of the CSV and JSON output for individual resources. |
Fixed, "You need to set the GHC_SITE_URL accordingly to expose this." source @tomkralidis Thanks, this worked. |
User Story:
As a user
I want to export data of all resources in JSON and CSV formats
So that I can use JSON programmatically and CSV for tabular data analysis
The export feature on the main page only allows JSON export (eg. http://geohealthcheck.osgeo.org/export)
ideas:
Change URL pattern to indicate format
http://geohealthcheck.osgeo.org/json
http://geohealthcheck.osgeo.org/resource/1/json
Add a CSV export option
http://geohealthcheck.osgeo.org/csv
http://geohealthcheck.osgeo.org/resource/1/csv
Details:
Given JSON from http://geohealthcheck.osgeo.org/export
"resource_type": "OGC:CSW",
"title": "CSW interface for catalog.data.gov",
"url": "http://catalog.data.gov/csw-all"
JSON attributes to add:
This way a developer can navigate to either the report page, JSON or CSV output from the main
CSV Attributes
The text was updated successfully, but these errors were encountered: