QlikView – ScraperWiki https://blog.scraperwiki.com Extract tables from PDFs and scrape the web Tue, 09 Aug 2016 06:10:13 +0000 en-US hourly 1 https://wordpress.org/?v=4.6 58264007 Connecting QlikView to ScraperWiki with OData https://blog.scraperwiki.com/2014/05/connecting-qlikview-to-scraperwiki-with-odata/ Mon, 19 May 2014 10:25:57 +0000 https://blog.scraperwiki.com/?p=758221697 This is a guest post by Nuno Faustino who shows how to connect QlikView to ScraperWiki using our new Odata connector.

The first step is to collect some data using the ScraperWiki Platform, the demonstration here uses the our new US Stock Market data tool but could equally well have used the Twitter Follower or Twitter Search tools.

To connect Qlikview to ScraperWiki you should install the OData tool on the dataset on the ScraperWiki Platform and paste the link provided in File > Edit Script > Web files (in the Data pane at the bottom). For each table you have in your dataset there will be a different link.

qlikview-img1

On the next dialog page just choose “feed” and then “Finish”.

You will end up with and apparently complicated piece of code in your browser, but with this you only need to eliminate all rows which do not contain content/properties and also those who end in m:type.

qlikview-img2

To get just the data you have scraped into your table, the end result should be like this:

LOAD [content/properties/Volume] as Volume,
[content/properties/AdjClose] as AdjClose,
[content/properties/High] as High,
[content/properties/Low] as Low,
[content/properties/rowid] as rowid,
[content/properties/Date] as Date,
[content/properties/Close] as Close,
[content/properties/Open] as Open
FROM [https://free-ec2.scraperwiki.com/tb89xnn/7ynpetp3oczdtbt/cgi-bin/odata/stockdata] (XmlSimple, Table is [feed/entry]);

After saving and reloading, you have all your data ready for action in Qlikview.

qlikview-img3

Happy Qliking…

]]>
758221697