Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents
minLevel1
maxLevel6
outlinefalse
stylenone
typelist
printablefalse

This document details steps to set up new applications using Sprngy Admin UI, defining models, and running workloads.

...

Use Case Category:

...

Social Media

...

Demo Application 1: Determine twitter user traffic in the USA

Objective - Build a chart that describes Twitter user traffic in the USA

...

Accessing twitter data using the Twitter developer account to gather information on tweets sent as per the geo-location. This search can be filtered by a hashtag, date and time, or geographical area. Here, we will be analyzing the number of tweets sent across the USA. We will be using “rtweet“ library to access the data and springyBi SprngyBI to create analytics over it.

...

Now that the business use and classification of the application are established, the application can be created using the UI. In AdminUI, set up the application by going to the Set-up Application tabConfiguration page, select Create New, and filling out the file structure. Since we have just one layer file system data we will have just one entity in it.

...

Since we are accessing data using the Tweeter API we can use Analytic Model directly to load, correlate and analyze the data.

Analytic model can be specified using the AdminUI. A Sample Analytic Model is as follows:

...

Step 3: Create Data Table in Hive

In the utilityscripts folder, use the create_hive_ddl_using_spark_df.R script to generate the Hive SQL statement needed to create a data table in Hive. Once you run the script, a .hql file will be created; open this file and copy the statement that was generated. Run it in the hive terminal.

...

For now if you run an analytic model please contact to support@sprngy.com to get the generated data access in SprngyBI.

Step 4: Importing Database and Dataset into

...

SprngyBI

...

After adding the database and dataset (as shown in above screenshots), we can create charts for that dataset. To create charts go to the Chart page from the top menu, then pick the dataset that we just add and select the chart type. Here, we are selecting “deck.gl Scatterplot“ this requires latitude and longitude columns.

...

Copyright © Springy Corporation. All rights reserved. Not to be reproduced or distributed without express written consent.