write_trial | R Documentation |
CAUTION: This function must be used only with packages that follow the
sqlr
system.
write_trial()
writes a trial_*
table of the systematic quantitative
literature review (sqlr
) system to a Google Spreadsheets.
You must have a sheets
data object with the sheets metadata and an updated
reference
table before running this function. See write_metadata()
and
update_reference()
to learn more.
write_trial(trial_id, package = rutils:::get_package_name())
trial_id |
A string indicating the ID of the trial to be written. |
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_reference()
## Not run:
## Writing the Trial - DUP table
write_trial("dup")
## Checking the number of rows with the 'reference' table
nrow(dplyr::filter(reference, !is.na(criteria_id)) +
sheet_nrow("trial_nr1") == nrow(reference)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.