View source: R/write_reference.R
write_reference | R Documentation |
reference
table to the package and to Google SpreadsheetsCAUTION: 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())
data |
The |
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 |
Other reference/citation functions:
build_reference()
,
update_reference()
,
write_trial()
## Not run:
write_reference(data.frame(a = 1, b = 1))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.