Welcome to TERN Knowledge Base

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

This section will cover the EcoPlots API Dashboard (EcoPlots API Query Dashboard) and will run through examples of how to use the dashboard to extract and visualise data.

The API Dashboard is another way that users can query data stored within EcoPlots using an API. The dashboard provides a lightweight interface for EcoPlots APIs to query datasets hosted on the EcoPlots Platform. The interface offers standard pre-defined query patterns to retrieve data from multiple data sources based on simple selection criteria. Users can use this dashboard to construct queries and get a code snippet to access data in any programming language. The interface provides sample data for a constructed query. Hence, users must use generated code snippets to retrieve the complete dataset for any constructed query. Alternatively, users can use the EcoPlots search dashboard to perform more detailed search and download data.

To navigate to the dashboard, go to the EcoPlots home page (https://ecoplots.tern.org.au/) and click on the (blue star) tab in the menu bar and select the API Query Dashboard. For more information and detailed instructions on using the API Query Dashboard, you can select the (blue star) button, which will generate the following screen:

Now we can go through the steps of selecting and extracting data. User can query the data by either “Dataset” or “Region” (as seen below).

API_dashboard_search.png

Once a selection has been made, you can use additional search parameters: Datasource, Feature Type, Survey sites and Observable properties to narrow down the results.

In the below example, we are using the “Dataset” query endpoint and have selected the TERN Ecosystem Processes datasource. For this basic example, we are interested in extracting all observable properties involving above-ground biomass, stem diameter, stem height and species' scientific names.

example_search_dataset.png

Once the search parameters have been selected, click on the (blue star) button and the following screen will be displayed.

Here we can either select the data format (either CSV or GeoJson) (blue star) . In this example, we have selected the CSV option. In the grey “search body” section, we can see the query results showing the respective URLs of the “dataset” and the observable properties (above-ground biomass, stem diameter, stem height and species' scientific names.

To access the data, there are two methods: 1) select the API button (blue star) or 2) select the Execute Data Query button (blue star) . The choice of which method to use will depend on the amount of resulting observations from the data query which we will go over in the examples below.

If the query produces large amounts of data (>10,000 observations/rows), the best way to extract the data is using the the code snippet produced after selecting the API button (blue star). Here we see that a code generator appears with the data query…….

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.