Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Use Google Drive & R to Build Questionnaires and Reports

DZone's Guide to

Use Google Drive & R to Build Questionnaires and Reports

· Big Data Zone ·
Free Resource

Hortonworks Sandbox for HDP and HDF is your chance to get started on learning, developing, testing and trying out new features. Each download comes preconfigured with interactive tutorials, sample data and developments from the Apache community.

Here's how I did it in 3 easy steps:

(1) Set up a form in Google Docs/Drive.

(2) Choose "Actions" and "Embed in Website" to get the URL for the iframe and put it in a post, like below. Then, go to the spreadsheet view of the form on Google Docs/Drive and set the share option to "everyone with the link" or "public" and copy the document key from here.

(3) Make a report with knitr in R using the responses that were put to a spreadsheet at Google Docs/Drive. Do (knit) something like THIS to produce a markdown-file, i.e. (I pushed the md-file to Github for publishing -- see it rendered to HTML HERE).



      Hortonworks Community Connection (HCC) is an online collaboration destination for developers, DevOps, customers and partners to get answers to questions, collaborate on technical articles and share code examples from GitHub.  Join the discussion.

      Topics:

      Published at DZone with permission of

      Opinions expressed by DZone contributors are their own.

      {{ parent.title || parent.header.title}}

      {{ parent.tldr }}

      {{ parent.urlSource.name }}