Download data from Qlik Dashboard with R - qlikview

I am trying to download data from a Qlik Dashboard (QVPROD). It has the "Send to Excel" option when I right click over the dashboard, however I do not know how to do this in R. Also, if I want to change the date range of the data, the change in data does not show up in the URL (how the date is changes is attached in a screenshot)enter image description here. Is there anyway for me to download data with a specific data range and send the data to Excel through R?
Thanks!

To download the data in a Mashup you can use the table-api (as documented here: http://help.qlik.com/en-US/sense-developer/3.2/Subsystems/APIs/Content/TableAPI/exportData-method.htm)
Have a look at the following example (basically not a mashup but an extension using the same API): https://github.com/stefanwalther/sense-export/blob/master/src/swr-sense-export.js#L72
Hope this helps!

Related

Fusion chart automation using protractor automation framework

My current project setup
Angular js 1.5
integrated fusion chart https://www.fusioncharts.com/fusioncharts
now am trying protractor framework to automate the application and i could do many things like form validation , input and submit .
Now i have problem with Fusion chart automation , like am not able to validate the data that showing on the graph is correct or not .
i tried below idea but am not able to get reference it giving error fusion chart is not defined .
outine
please comment on the below idea and suggest any other way to automate this or any other new framework .
You can write test cases using FusionCharts life cycle events supported to test but please note chart need to be rendered first on any browser as FusionCharts is a JavaScript charting library that you need to include in your HTML page/application to use or run the charts.
Fusioncharts has its own supported events and methods which you can use like method getCSVData to fetch chart data set in the CSV format which you can later validate if its correct or not as per your requirement.
Refer below doc link for lifecycle Events using AngularJs,
https://www.fusioncharts.com/dev/getting-started/angular/angularjs/lifecycle-event-using-angularjs
Please refer below doc link for all supported methods with details and samples,
https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-methods
Please refer below doc link for supported events,
https://www.fusioncharts.com/dev/api/fusioncharts/fusioncharts-events
Hope this helps.

How do i resolve Errors in Google Bigquery while creating a table from google sheets?

I am trying to create a table in google bigquery from a google sheet. But it keeps throwing up a blank error.
screen shot of the error
I am creating the table from drive.
My format is set to CSV.
I have Schema and input parameters checked.
I have checked the screenshot uploaded and I notice that the URI you put in the create table window is weird, according to bigquery/external-data-drive the URI should look like this: https://drive.google.com/open?id=[FILE_ID]. I suggest you to get the shareable link instead to only copy the browser link.

How to access a Google Sheet from an API executed in a browser window.

I have google sheet and would like to access the content via api from a browser window. The range would be EGK!A1:G8 as an example.
https://docs.google.com/spreadsheets/d/1mJaSiWljYu11PGJamaV98-hgiwFBDxuoRjtwOfC4kXo/edit?usp=sharing/
I tried 'https://docs.google.com/spreadsheets/d/1mJaSiWljYu11PGJamaV98-hgiwFBDxuoRjtwOfC4kXo/edit?usp=sharing/values/SBR!A1%3AG8' but in vain.
I am now able to get the JSON format but it has too many values...Would be nice to have the content only rather than the 3 objects: version, encoding, and feed
https://spreadsheets.google.com/feeds/list/1mJaSiWljYu11PGJamaV98-hgiwFBDxuoRjtwOfC4kXo/2/public/full?alt=json

How to create pentaho cde dashbord with convert to pdf button?

i just want to create a pentaho cde dashboard with convert to pdf button. when i click the button the dashboard should be downloaded as pdf format. i searched couple of blogs they suggested to use sparkl and phantomjs to do so. but currently sparkl is not available in pentaho marketplace. there is any alternative way to do this conversion? please help me.
Thanks in advance,
Kannas
some time ago a customer of my company asked the same and I was in the same situation as you, phantomjs works, but the customers asked for something a little more complicated, they wanted the graphics to export it will stay with the state they had , That is to say when filtering they will be exported to PDF as well. After giving up with phantomjs, I started looking for other technologies to do this, and so I found the following
jspdf.js
html2canvas.js
html2canvas.svg.js
rgbcolor.js
stackBlur.js
canvg.js
addhtml.js
I explain what I did, create a new document using jspdf, then add the html page to a temporary canvas with canvg.js, html2canvas.js, html2canvas.svg.js, you have to keep in mind that the graphics are svg, and the treatment to add it to the canvas is different than create and then export it to PDF
I create a component of Pentaho, that you pass the html object that you want to export and export only that, I can not give you the code because it is reserved right for my company, but at some point I will create this component again to share it with the community, Regards

Changing app homepage content daily

I am developing an iOS app for iPhone using Xcode of course, and need to have the facility to update the information on my initial view daily. This would consist of editing a logo for the day's date, and daily changing a block of text on the same page.
Another feature within the app would need to be to progressively add more and more content (adding further menus and categories of information available to the user on the interface).
I cannot seem to find anything to help me online so I would be HUGELY GRATEFUL for any help!
Cheers :)
Search for JSON and how to retrieve data from an online resource - that's what you want.
Here's a randon tutorial:
http://www.appcoda.com/fetch-parse-json-ios-programming-tutorial/