Create a Google Sheets data entry form

create_gsheet_form(name, sheets = NULL, view = TRUE)

Arguments

name

A string to name the newly created spreadsheet.

sheets

Optional input for initialising worksheets.

view

Logical. Should the newly created sheet be opened in the current browser? Default to TRUE.

Value

A spreadsheet with specified name and specified sheets in user's Google Sheets account.

Author

Ernest Guevarra

Examples

## Create a Google Sheet named "village_list" if (googlesheets4::gs4_has_token()) { create_gsheet_form("SMART Survey") }