How to Seamlessly Import REST Data into IBM SPSS Modeler



Integrate REST data into IBM SPSS Modeler using the CData ODBC Driver for real-time insights and advanced data analysis.

IBM SPSS Modeler is a powerful data mining and predictive analytics platform that enables organizations to extract valuable insights from their data. By connecting REST data data to SPSS Modeler via the CData ODBC Driver for REST, you can leverage real-time access for advanced data mining, predictive modeling, and statistical analysis.

This guide takes you through the steps of connecting IBM SPSS Modeler to REST data, enabling seamless data import, preparation, and analysis. With the CData ODBC Driver for REST, you can unlock the full potential of your REST data data within IBM SPSS Modeler for actionable insights.

Overview

Here is an overview of the steps:

  1. CONFIGURE THE ODBC DRIVER: Set up a connection to REST data in the CData ODBC Driver for REST by entering the required connection properties.
  2. SET UP ODBC CONNECTION IN SPSS MODELER: Establish the ODBC connection within IBM SPSS Modeler by selecting the configured DSN.
  3. IMPORT AND PROCESS DATA: Import the REST data data into SPSS Modeler, then review, filter, transform, and prepare the data for predictive analytics and statistical modeling.

Configure the REST DSN Using the CData ODBC Driver

To start, configure the DSN (Data Source Name) for REST data in your system using the CData ODBC Driver. Download and install a 30-day free trial with all the features from here.

Once installed, launch the ODBC Data Source Administrator:

  • On Windows: Search for ODBC Data Source Administrator in the Start menu and open the application.
  • On Mac: Open Applications, go to Utilities, and select ODBC Manager.
  • On Linux: Use the command line to launch ODBC Data Source Administrator or use unixODBC if installed.

Once launched, double-click on the CData REST data Source and enter the required values to establish a connection:

See the Getting Started chapter in the data provider documentation to authenticate to your data source: The data provider models REST APIs as bidirectional database tables and XML/JSON files as read-only views (local files, files stored on popular cloud services, and FTP servers). The major authentication schemes are supported, including HTTP Basic, Digest, NTLM, OAuth, and FTP. See the Getting Started chapter in the data provider documentation for authentication guides.

After setting the URI and providing any authentication values, set Format to "XML" or "JSON" and set DataModel to more closely match the data representation to the structure of your data.

The DataModel property is the controlling property over how your data is represented into tables and toggles the following basic configurations.

  • Document (default): Model a top-level, document view of your REST data. The data provider returns nested elements as aggregates of data.
  • FlattenedDocuments: Implicitly join nested documents and their parents into a single table.
  • Relational: Return individual, related tables from hierarchical data. The tables contain a primary key and a foreign key that links to the parent document.

See the Modeling REST Data chapter for more information on configuring the relational representation. You will also find the sample data used in the following examples. The data includes entries for people, the cars they own, and various maintenance services performed on those cars.

Setup an ODBC Connection in IBM SPSS Modeler

After configuring the DSN, it's time to connect to it in IBM SPSS Modeler:

  • Launch IBM SPSS Modeler, log in, and create a new stream.
  • From the Sources palette, locate the Database node, and drag it onto the canvas.
  • Double-click the Database node to open the configuration dialog. Select , browse to select the configured DSN, then click OK.
  • In the Database dialog, browse to select the table(s) you’d like to import, preview the data, and click OK to finalize.

You are now ready to process and analyze the REST data data in IBM SPSS Modeler.


Process Data: Filter, Categories, and Model

Once the tables are imported, you can refine, filter, categorize, and model your REST data data in SPSS Modeler:

  • Filtering: Double-click your Database connection, go to the Filter section, and select/deselect fields to focus on relevant data. This improves processing speed and model accuracy.
  • Set Data Types and Roles: Categorize your fields and assign roles to each data type by navigating to the Types section.
  • Perform a Basic Analysis: Drag and drop the Analysis node next to your Database node, connect them, and click the Play button to run the stream and analyze the data.

You have now performed a simple analysis, enabling SPSS Modeler to process and display insights from your database.


Unlock the Potential of Your REST Data with CData

With the CData ODBC Driver for REST, connecting REST data data to IBM SPSS Modeler is seamless. Start your free trial today and unlock the full potential of your real-time data for advanced analytics and decision-making.

Ready to get started?

Download a free trial of the REST ODBC Driver to get started:

 Download Now

Learn more:

REST Icon REST ODBC Driver

The REST ODBC Driver is a powerful tool that allows you to connect with live REST web services, directly from any applications that support ODBC connectivity.

Access REST services like you would any standard database - read, write, and update etc. through a standard ODBC Driver interface.