Define the column types for the article data frame
Source:R/load_epidata_raw.R
article_column_type.Rd
This function defines the column types for the article data frame used in the epireview package.
vroom is generally good at guessing the
column types, but it is better to be explicit. Moreover, it reads a column of NAs as a logical vector, which
is particularly undesirable for us. This function is intended to be used internally by load_epidata_raw
where
the files are being read.
Arguments
- pathogen
name of pathogen. This argument is case-insensitive. Must be one of the priority pathogens You can get a list of the priority pathogens currently included in the package by calling the function
priority_pathogens
.