Skip to contents

Process data for outbreak table

Usage

data_outbreak_table(pathogen, prepend = "")

Arguments

pathogen

name of pathogen e.g. "marburg"

prepend

string to allow loading data in vignettes

Value

processed data to use as input for outbreak_table()

Examples

df <- data_outbreak_table(pathogen = "marburg")
#> Rows: 23 Columns: 24
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr  (8): outbreak_start_month, outbreak_end_month, outbreak_country, outbre...
#> dbl (15): outbreak_id, article_id, outbreak_start_day, outbreak_start_year, ...
#> lgl  (1): outbreak_size
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.
#> Rows: 58 Columns: 25
#> ── Column specification ────────────────────────────────────────────────────────
#> Delimiter: ","
#> chr  (8): pathogen, first_author_first_name, article_title, doi, journal, no...
#> dbl (16): article_id, covidence_id, year_publication, volume, issue, page_fi...
#> lgl  (1): paper_copy_only
#> 
#>  Use `spec()` to retrieve the full column specification for this data.
#>  Specify the column types or set `show_col_types = FALSE` to quiet this message.