Visualizing Air Pollutant Index (API) with Lumira and Import.io
I’m sure many have once thought, visualizing a set of data is a time consuming task and isn’t a straight forward and simple process. However, this has all changed with Lumira! With Lumira, you can now quickly transform large data set into nice charts and story board that you need.
As many might aware that Malaysia has been “gloomy” for few months last year (Sep ’15 to Dec ’15) due to the thick haze that was blown from our neighbouring country due to the burning activities that happened in hundreds of “hotspot”. After much thought, I was thinking maybe this is a “good opportunity” to show case one of the SAP BI tool, namely Lumira!
What is Lumira?
Basically, SAP Lumira is a self-service solution that allows analysts and decision makers to access, transform, and visualize data. The SAP Lumira desktop experience is used to prepare data from multiple sources, visualize it, and then compose stories from those visualizations that can be shared with other decision makers using the SAP Lumira server and cloud platforms which provide browser and mobile based experiences to further analyse data and collaborate with colleagues on datasets, stories, and other business intelligence artifacts. – (http://help.sap.com/lumira)
Well, there’re a lot of tools when it comes to SAP BI (Business Intelligence) Reporting offerings, which now have been categorized under the Enterprise Information Management umbrella. Lumira was chosen for this initiative purely because it provides the following benefits:
- Access and cleanse data quickly from the source
- Quickly discover the trend and transform the data into visual.
- Flexible access to external source system with Data Access Extension
A. Data Acquisition
First of all, source information is the most important or shall I say the starting point in building any Report / Visual. In this case, data will be extracted from the Department of Environment’s (DOE) official website, http://apims.doe.gov.my/, which can be obtained on an hourly basis.
With the help of import.io (is a web-based platform for extracting data from websites without writing any code. The tool allows people to create an API using their point and click interface), I’m able to get the data in a tabular format and update to a google excels which allow us to grab the data and load into Lumira.
- Paste the URL of the website to the “Query your API” box and hit the “Run query” button.
- Click on the “Export” and select “Export to Google Sheets”
- Sign in into to your google drive, and then the file will be published in your google drive.
B. Data Visualisation
Using Lumira, with the Data Access Extension for google excel, I can easily use the information from the google excel to create my own Lumira story.
Enable Lumira to use Data Access Extension:
- In C:\Program Files\SAP Lumira\Desktop, open the SAPLumira.ini file. Add the following entries to this file and save it:
- -Dhilo.externalds.folder=C:\Program Files\SAP Lumira\Desktop\daextensions
Once the pre-requisite is fulfilled, you may proceed with the following steps:
- Select File > New > External Datasource > Next
- Select “googlespreadsheets” and hit the “Next” button, where a pop-up will then request for the “Google Doc Key”, which you can get from the google excel link.
- Select the relevant columns, and click “Create”
- Then proceed with building your story with 4 simple Steps:
Feel free to try on the story that I have created using Lumira:
- Please fulfil the pre-requisite to enable the Data Access Extension
- Download the Lumira file (*.lums) from the following link:
- Refresh the data to get the most recent 6 hours data.
What can you do with Lumira?
I have just demonstrated how easy to grab data from website and visualize it with Lumira. You can take advantage of this and simply by;
- Extract data from any source, put them into an excel sheet
- Visualize company expenses
- Visualize time spent on work and many more, https://ideas.sap.com/DataGenius/boards#grid_random-list.
- Visualize and build a story for your visualization with Lumira!
Though there are some limitations when it comes to building story with Lumira (for example, report can only be refreshed on a daily / weekly / yearly basis), but I would say that it is a tool with great potential for data discovery as it requires very short learning curve (it took me about half a day to understand and put things together) and its friendliness is definitely a great advantage for anyone!
Last but not least, for those who are viewing this in Malaysia / Singapore / Indonesia, do take care and always keep yourself hydrated with tonnes of water.
Enjoy “Storying” with Lumira!