1 of 21

Datapad

Create and share datapads

2 of 21

Previous limitations

  • Previously, there was no way to easily share a datapad and analysis around it.
  • Also, there was no way to push external data / analysis back to the data set.

3 of 21

DataPad - What is it & WHY?

A dashboard view with an unique URL which can be easily shared.

Easy to share

Users can post back data / images to the data set, which will be visible on the dashboard.

Data / images to the data set

4 of 21

Setup

Datapad

5 of 21

Create Datapad

Abstract

Path

Name

Auto generated :The [SurveyName] survey was fielded on [Date]. An invitation to take the survey was mailed out to approximately [Enter Number Here] people, and about [Enter Number Here] took the survey. The survey was administered using QuestionPro. This allowed users to submit their responses securely online. Listed below are the key findings.

Surveys > Analytics > Dashboard > Datapadt

Add a custom name/title to your Datapad

Setup

6 of 21

Datapad - Dataset

Unique link

Data URLs

Click on copy button to use the dataset created in R studio and other stats tools. URL of the created dataset gets copied.

Surveys > Analytics > Dashboard > Dataset

Setup

7 of 21

Datapad - Analysis

Inline Edit

Click on the text to edit the title or the abstract directly

Setup

8 of 21

Apps

9 of 21

API

Datapad

10 of 21

Get Datapads

Example

Get

https://mrlabs.questionpro.com/a/api/v2/surveys/{survey-id}/datapads?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/surveys/{survey-id}/datapads?apiKey={{apiKey}}' \

API

11 of 21

Get Datapad

Example

Get

https://mrlabs.questionpro.com/a/api/v2/surveys/{survey-id}/datapads/{datapad-id}?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/surveys/{survey-id}/datapads/{datapad-id}?apiKey={{apiKey}}' \

API

12 of 21

Update Datapad

Put

Example

https://mrlabs.questionpro.com/a/api/v2/surveys/{survey-id}/datapads/{datapad-id}?apiKey={{apiKey}}

HTTP/1.1

Accept: application/json

{

"analysisHtmlText": "<img width=\"200\" src=\"https://dev.questionpro.com/qp_userimages/2647/my-image.png\" />"

}

curl --request PUT \

--url 'https://mrlabs.questionpro.com/a/api/v2/surveys/1827/datapads/373/?apiKey={{apiKey}}' \

--header 'Content-Type: application/json' \

--data '{ "analysisHtmlText": "<img width=\"200\" src=\"https://dev.questionpro.com/qp_userimages/2647/my-image.png\" />"}'

API

13 of 21

Get Images

Example

Get

https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images?apiKey={{apiKey}}' \

https://mrlabs.questionpro.com/a/api/v2/images?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/images?apiKey={{apiKey}}' \

API

14 of 21

Get Image

Example

Get

https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images/{image-id}?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images/{image-id}?apiKey={{apiKey}}' \

https://mrlabs.questionpro.com/a/api/v2/images/{image-id}?apiKey={{apiKey}}

curl --request GET \

--url 'https://mrlabs.questionpro.com/a/api/v2/images/{image-id}?apiKey={{apiKey}}' \

API

15 of 21

Post Image

Example

Post

https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images?apiKey={{apiKey}}

curl --request POST \

--url 'https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images?apiKey={{apiKey}}' \� --form 'file=@{your-system-file-path}'

API

16 of 21

Delete Image

Example

Delete

https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images/{image-id}?apiKey={{apiKey}}

curl --request DELETE \

--url 'https://mrlabs.questionpro.com/a/api/v2/users/{user-id}/images/{image-id}?apiKey={{apiKey}}' \

https://mrlabs.questionpro.com/a/api/v2/images/{image-id}?apiKey={{apiKey}}

curl --request DELETE \

--url 'https://mrlabs.questionpro.com/a/api/v2/images/{image-id}?apiKey={{apiKey}}' \

API

17 of 21

Apps

18 of 21

Add Analysis

Click on Add Analysis to upload image from external system

Click on preview to get Dashboard view

19 of 21

Dashboard view

Datapad

20 of 21

Dashboard

Title

Abstract

Content area/ Images

Dataset tab

Uploaded via API

Dataset will show raw data

Dashboard view

21 of 21

Thanks :D