From aa8682424de8c712660b1cdb8b7d88aa974d96e0 Mon Sep 17 00:00:00 2001 From: Abdoelnaser M Degoot Date: Wed, 24 Apr 2024 10:30:24 +0000 Subject: [PATCH] Update episodes/clean-data.Rmd Co-authored-by: Andree Valle Campos --- episodes/clean-data.Rmd | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/episodes/clean-data.Rmd b/episodes/clean-data.Rmd index 7bcd5efb..2e6991f2 100644 --- a/episodes/clean-data.Rmd +++ b/episodes/clean-data.Rmd @@ -25,11 +25,16 @@ In the process of analyzing outbreak data, it's essential to ensure that the dat The first step is to import the dataset following the guidelines outlined in the [Read case data](../episodes/read-cases.Rmd) episode. This involves loading the dataset into our environment and view its structure and content. ```{r, message=FALSE} +# Load packages library("rio") library("here") + +# Read data raw_ebola_data <- rio::import( here::here("built", "data", "simulated_ebola_2.csv") ) + +# Return first five rows utils::head(raw_ebola_data, 5) ```