Before you Begin

This tutorial shows you how to create a dataset from a REST endpoint.

Background

To use the data available from a REST endpoint with Oracle Analytics, you need to visit the REST endpoint's resource owner and follow the owner's instructions and requirements. You might need an Oracle Analytics access token, client URL, and other credentials to create a REST endpoint connection in Oracle Analytics.

This tutorial uses a sample REST endpoint template that doesn't have authentication requirements to demonstrate the steps to create a dataset with a REST endpoint.

In the Oracle Analytics Public Library on the REST Connectors page, you can find template JSON files to assist you in creating a REST endpoint connection.

After creating a REST endpoint connection, you can create a dataset. Because this tutorial uses a sample REST endpoint template, the data from the resulting connection isn't significant or meaningful.

What Do You Need?

  • Access to Oracle Analytics
  • Download the Open-Meteo-NoAuth.zip connector template to your computer from REST API Connectors

Create a REST Endpoint Connection

In this section, you use a sample JSON file from the Oracle Analytics Public Library REST Connections page to create a connection. The Open-Meteo template doesn't require any authentication and serves only as an example for this tutorial.

  1. Sign in to Oracle Analytics.
  2. On the Home page, click Create and click Connection.
  3. In Create Connection, select REST API (Preview).
  4. In REST API Create Connection, click Import File, select the Open-Meteo-NoAuth.zip file, and then click Open.
  5. Click Save.


    Oracle Analytics lists the connection with RE as the icon.

    Description of rest_connection.png follows
    Description of the illustration rest_connection.png

Create a Dataset from the REST Endpoint

In the section, you use the REST connection to access the resource's data and create a dataset.

  1. On the Home page, click Create and select Dataset.
  2. In Create Dataset, click Open-Meteo Weather.


    Oracle Analytics opens in the Connections panel.

  3. In Connections Connections panel icon, expand AUTOREST under the schema folder.


    Description of autorest.png follows
    Description of the illustration autorest.png
  4. Select FORECAST and drag it to the Join Diagram.
  5. Select TEMPERATURE, drag it to the Join Diagram, and the drop it on FORECAST to create the join.
  6. Select TIME, drag it to the Join Diagram, and the drop it on FORECAST to create the join.


    Oracle Analytics creates joins between the tables when a common data element is present in each table.

    Description of join_diagram.png follows
    Description of the illustration join_diagram.png
  7. Click Save Save icon. In Save Dataset As, enter weather_om and click OK.
  8. Click Create Workbook.


    Oracle Analytics displays the weather tables and data elements in the Data panel.

    Description of dataset_in_wb.png follows
    Description of the illustration dataset_in_wb.png

Learn More