reference
table to the package and to Google SpreadsheetsR/write_reference.R
write_reference.Rd
CAUTION: This function must be used only with packages that follow the
sqlr
system.
write_reference()
writes a data.frame
to the reference data file of
the package an to its Google Spreadsheets file.
You must have a sheets
data object with the sheets metadata before running
this function. See write_metadata()
to learn more.
write_reference(data, package = rutils:::get_package_name())
The data.frame
object to write.
(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).
Other reference/citation functions:
build_reference()
,
update_reference()
,
write_trial()
if (FALSE) {
write_reference(data.frame(a = 1, b = 1))}