write_metadata: Create a list with Google Sheets metadata for tables hosted...

View source: R/utils-sheets.R

write_metadataR Documentation

Create a list with Google Sheets metadata for tables hosted on the platform

Description

[Experimental]

CAUTION: This function must be used only with packages that follow the sqlr system.

write_metadata() creates and returns a list object containing lists with the Google Sheets metadata of the review tables hosted on the platform.

You can see a example of a metadata sheets in: https://bit.ly/2PFWhev.

Usage

write_metadata(id, sheet = "Dataset")

Arguments

id

A string with the Google Sheets ID from the Sheets table.

sheet

(optional) a string indicating the worksheet/tab where the sheets data can be found in the Sheets spreadsheet (default: "Dataset").

Value

An invisible list object containing lists with the Google Sheets metadata of the review tables hosted on the platform.

See Also

Other Google Sheets functions: range_write(), read_sheet(), sheet_nrow(), write_query(), write_sheet()

Examples

## Not run: 
write_metadata("1x6Aj8cXl9qFtpXq48Q6zdmT-w9EEqNG1iVQcKVRhgKM")

## End(Not run)

gipsousp/sqlr documentation built on Sept. 29, 2023, 11:41 a.m.