
Import a contributors table from a spreadsheet
import_contributorTable.RdImport a contributors table from a spreadsheet
Arguments
- x
The URL or path to a file.
- localBackup
If not
NULL, a valid filename to write a local backup to.- exportGoogleSheet
If
xis a URL to a Google Sheet, instead of using thrgooglesheets4package to download the data, by passingexportGoogleSheet=TRUE, an export link will be produced and the data will be downloaded as Excel spreadsheet.- xlsxPkg
Which package to use to work with Excel spreadsheets.
- silent
Whether to be silent or chatty.
Examples
### Locate the example file
exampleContribTable <-
system.file(
"extdata",
"contributor-matrix---example.ods",
package = "comma"
);
### Import the contribution table
contribTable <-
comma::import_contributorTable(
exampleContribTable
);
### Show some contributions
contribTable$contributor_table[, 1:10];
#> Contributor project_group goals synthesis_plans
#> 1 PhD Candidate TRUE TRUE TRUE
#> 2 Supervisor 1 TRUE TRUE TRUE
#> 3 Supervisor 2 TRUE TRUE TRUE
#> 4 Supervisor 3 (daily supervisor) TRUE TRUE TRUE
#> entity_drafting entity_feedback entity_finalization screening_procedure
#> 1 TRUE FALSE TRUE TRUE
#> 2 FALSE TRUE FALSE TRUE
#> 3 FALSE TRUE FALSE TRUE
#> 4 FALSE TRUE TRUE TRUE
#> exclusion_criteria search_strategy
#> 1 TRUE TRUE
#> 2 TRUE TRUE
#> 3 TRUE TRUE
#> 4 TRUE TRUE