[Experimental]

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

write_query() create queries for each row of the search dataset and write them in the query column.

write_query(range = NULL, package = rutils:::get_package_name())

Arguments

range

(optional) a string indicating the cell range or start of the target rectangle where the function must write the output. See the range argument from googlesheets4::range_write() to learn more.

package

(optional) a string indicating the package with the database data. If not assigned, the function will try to use the name of the active project directory (requires the rstudioapi package).

See also

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

Examples

if (FALSE) {
write_query()}