Data Access
The access to the tables is possible for project partners only with different modalities depending on the access to ScientificNet:
- API: available for all users provides data in json format
- Direct DB connection: available only for Eurac users and users with access to ScientificNet also by VPN
API - PostgREST API
Access is possible by a RESTfull-API available for all users at this URL:
https://eo4multihazards.eurac.edu/api
The API provide datasets in json format that can be downloaded by many client like a web-browser, linux shell, R, Python, etc. Documenation is available here:
Example of querying data by linux shell:
curl -G "https://eo4multihazards.eurac.edu/api/events_light" \
--data-urlencode "e_type=eq.Drought" \
--data-urlencode "e_date=gt.2023-01-01" \
-H "Accept: application/json"
Example of querying data by web-browser to filter results:
https://eo4multihazards.eurac.edu/api/events_light?e_type=eq.Drought&e_date=gt.2023-01-01