range_write | R Documentation |
data.frame
object to a review table hosted on Google SheetsCAUTION: This function must be used only with packages that follow the
sqlr
system.
range_write()
writes a data.frame
object to a specific range of a review
table hosted on Google Sheets.
This function was created as workaround to googlesheets4::range_write writing limit. It bypass this limit by writing in batches.
Please note that this function will always write in the A1
range and will
delete all but the 2 first rows of the worksheet before writing on it.
You must have a sheets
data object with the sheets metadata before running
this function. See write_metadata()
to learn more.
range_write(x, name, package = rutils:::get_package_name(), limit = 2e+05)
x |
A |
name |
A string indicating the name of the sheets that the function must write. |
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 |
limit |
(optional) a number with the limit amount of data to write for
each batch. Example: a limit of |
Other Google Sheets functions:
read_sheet()
,
sheet_nrow()
,
write_metadata()
,
write_query()
,
write_sheet()
## Not run:
range_write(reference, "reference")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.