Skip to contents

Generate a dygraph of journal paper percentages, by country and year

Usage

dygraph_year(data, level = "continent")

Arguments

data

The processed dataframe of data

level

Level of analysis, either country or continent

Examples

# \dontshow{
.old_wd <- setwd(tempdir())
# }
if (FALSE) {
pubmed_query_string <- paste(
  "passion [Title/Abstract]",
  "AND Dualistic Model of Passion [Text Word]"
)

save_process_pubmed_batch(
  pubmed_query_string,
  year_low = 2021,
  year_high = 2023
)
data <- read_bind_all_data()
dygraph_year(data)
dygraph_year(data, "country")
}
# \dontshow{
unlink("easyPubMed_data_01.txt")
unlink("articles_2021_2023.rds")
setwd(.old_wd)
# }