
Synthetic Lab Data for EpiViz functions
lab_data.Rd
A dataset containing synthetic lab data for epidemiological visualisation purposes.
Usage
data(lab_data)
Format
A data frame with the following columns:
- date_of_birth
Date of birth of the patients.
- sex
Gender of the patients (Factor with levels: "Female", "Male").
- organism_species_name
Organism species name (Factor with levels: "KLEBSIELLA PNEUMONIAE").
- specimen_date
Date of specimen collection.
- lab_code
Laboratory codes (Factor with unique levels).
- local_authority_name
Name of the local authority.
- local_authority_code
Code of the local authority.
- region
Name of UKHSA regions.
Examples
data(lab_data)
head(lab_data)
#> date_of_birth sex organism_species_name specimen_date lab_code
#> 1 1938-10-05 Female KLEBSIELLA PNEUMONIAE 2020-05-24 BI20985
#> 2 1957-04-04 Male KLEBSIELLA PNEUMONIAE 2023-07-08 JH70033
#> 3 1927-06-24 Male STAPHYLOCOCCUS AUREUS 2023-02-24 CU5997
#> 4 1962-06-14 Male STAPHYLOCOCCUS AUREUS 2023-08-26 ES3851
#> 5 1953-07-20 Male STAPHYLOCOCCUS AUREUS 2022-04-07 YA29556
#> 6 1968-01-25 Male KLEBSIELLA PNEUMONIAE 2020-08-20 QF11124
#> local_authority_name local_authority_code region
#> 1 Worthing E07000229 South East
#> 2 Reading E06000038 South East
#> 3 Plymouth E06000026 South West
#> 4 Cheshire West and Chester E06000050 North West
#> 5 Northumberland E06000057 North East
#> 6 Rochdale E08000005 North West