Skip to contents

How does each country's weight in coronavirus research change? Plots, for the leading countries, their share of each year's references with a known first-author country, and reports the largest gain and loss between the first and the last full year.

Usage

EpiBib_plot_country_trends(
  data = EpiBib_references(years = 2003:as.integer(format(Sys.Date(), "%Y"))),
  countries = NULL,
  min_records = 300
)

Arguments

data

Data frame from an EpiBibR function. Defaults to 2003 onwards.

countries

Countries to show (as in AU_CO, e.g. c("USA", "CHINA")). By default, the five largest producers.

min_records

Years with fewer references with a known country are left out.

Value

A ggplot; its $data is the country-by-year table.

Examples

# \donttest{
EpiBib_plot_country_trends(EpiBib_references(years = 2010:2025))

# }