-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add ebola dataset from intro course.
- Loading branch information
Showing
8 changed files
with
72 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#' @title Fictional Ebola linelist data from fSierra Leone, 2014 | ||
#' | ||
#' @description | ||
#' Fictional linelist data based on the real emergence of Ebola in West Africa in 2014. | ||
#' | ||
#' @details | ||
#' This is a case linelist which contains fictional individual level data from one country | ||
#' on clinical, laboratory and epidemiological information. | ||
#' It is intended for use as part of Applied Epi training courses, | ||
#' alongside \link{mpox_aggregate_table} (cumulative case totals by date and country). | ||
#' | ||
#' | ||
#' @source Fictional data provided by Applied Epi for training purposes | ||
#' | ||
#' This is version 1.0. | ||
#' | ||
#' This data is English. | ||
#' | ||
#' This data is licensed under [CC by-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) | ||
#' | ||
#' @docType data | ||
"ebola_linelist_20141201" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
## code to prepare `ebola_linelist_20141201` dataset goes here | ||
# This creates an .rda format of the ebola_linelist_20141201.rds file | ||
|
||
# Define the path to the Excel file in inst/extdata | ||
file_path <- system.file("extdata", "ebola_linelist_20141201.rds", package = "appliedepidata") | ||
|
||
# Read in the RDS file using rio | ||
ebola_linelist_20141201 <- rio::import(file_path) | ||
|
||
usethis::use_data(ebola_linelist_20141201, overwrite = TRUE) | ||
|
||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.