epitrax_set_report_diseases
reads internal and public disease lists and
adds them to the EpiTrax object.
See also
setup_epitrax()
the convenience function which wraps this function
Examples
i_file <- system.file("tinytest/test_files/disease_lists/internal_list.csv",
package = "epitraxr")
p_file <- system.file("tinytest/test_files/disease_lists/public_list.csv",
package = "epitraxr")
epitrax <- structure(
list(data = c(1,2,3)),
class = "epitrax"
)
epitrax <- epitrax_set_report_diseases(
epitrax,
disease_list_files = list(
internal = i_file,
public = p_file
)
)