addPhotoURLs: Add columns corresponding to the original, as well as medium...

Description Usage Arguments Value Examples

View source: R/formhub.R

Description

Add columns corresponding to the original, as well as medium and small thumbnails of images as stored on the formhub server.

Usage

1
addPhotoURLs(formhubDataObj, formhubUsername, type = "url")

Arguments

the

formhubData object which to create URLs from.

the

formhub username of the person who owns this form.

type:

"url" or "img". URL only puts image url in, img puts image tag in.

Value

a formhubData object, with a few additional URL columns

Examples

1
2
3
good_eats <- as.data.frame(formhubDownload("good_eats", "mberg"))
good_eats_with_photos <- addPhotoURLs(good_eats, "mberg")
grep("URL", names(good_eats_with_photo), value=T) # the new columns

prabhasp/formhub.R documentation built on May 25, 2019, 11:25 a.m.