Description Usage Arguments Details Value Examples
View source: R/assign_articles.R
Randomly assign articles to any number of team members for screening. The function will create a nesting variable (reviewer) that can be used to nest and save data.
1 2 | assign_articles(df, team_df = NULL, effort_col = NULL,
reviewers = 2, reassign = FALSE, seed = 1)
|
df |
data frame of articles, should have at least title and abstract columns. If the function is used for re-assigning, then there should be a decision, name, and position column as well. |
team_df |
a data.frame of team members with name<chr>, and one or more effort <dbl> columns |
effort_col |
variable name <chr> in the team file that specifies the effort of members |
reviewers |
number of team members <num> for each article |
reassign |
is it a reassigning of studies <lgl>? |
seed |
a random seed <num> for reproducibility |
If the manual coding has already started, and some of the articles have been already processed, reassign = TRUE will preserve the work that has been done, and only assign unprocessed articles.
A data frame that contains article data assigned to multiple team members for manual data entry.
1 2 3 4 5 6 7 8 9 10 11 12 | library(dplyr)
library(tibble)
team_df <- tibble(name = c("Tom", "Jerry", "Rose"),
screening_effort = c(.6, .3, .1))
workaholism_pubmed %>%
# First, keep only one identifier for each article
make_id(identifier = c("doi", "pmid")) %>%
assign_articles(team_df = team_df,
reviewers = 2,
effort_col = "screening_effort")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.