get_multiple_forms {metricminer}R Documentation

Get multiple Google forms

Description

This is a wrapper function for returning google form info and responses for multiple forms at once

Usage

get_multiple_forms(form_ids = NULL, token = NULL)

Arguments

form_ids

a vector of form ids you'd like to retrieve information for

token

credentials for access to Google using OAuth. 'authorize("google")'

Value

This returns a list of API information for google forms

Examples

## Not run: 

authorize("google")
form_list <- googledrive::drive_find(
  shared_drive = googledrive::as_id("0AJb5Zemj0AAkUk9PVA"),
  type = "form"
)

multiple_forms <- get_multiple_forms(form_ids = form_list$id)

## End(Not run)

[Package metricminer version 0.5.1 Index]