From c18e94bb8e3ece97d48918a1769560456a991f88 Mon Sep 17 00:00:00 2001 From: athowes Date: Thu, 16 May 2024 12:12:04 +0100 Subject: [PATCH] Fix linter issues --- R/data.R | 1 - data-raw/process_raw_data.R | 7 +++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/R/data.R b/R/data.R index d04e1bb03..fc25656f3 100644 --- a/R/data.R +++ b/R/data.R @@ -14,7 +14,6 @@ #' \item{district}{The district (ADM2)} #' \item{chiefdom}{The chiefdom (ADM3)} #' } -#' #' @family data #' @source "ebola_outbreak_sierra_leone" diff --git a/data-raw/process_raw_data.R b/data-raw/process_raw_data.R index d506ecd6f..89bcdd941 100644 --- a/data-raw/process_raw_data.R +++ b/data-raw/process_raw_data.R @@ -1,3 +1,6 @@ -ebola_outbreak_sierra_leone <- readxl::read_xlsx("data-raw/pnas.1518587113.sd02.xlsx") -ebola_outbreak_sierra_leone <- janitor::clean_names(ebola_outbreak_sierra_leone) +ebola_outbreak_sierra_leone <- readxl::read_xlsx( + "data-raw/pnas.1518587113.sd02.xlsx" +) |> + janitor::clean_names() + usethis::use_data(ebola_outbreak_sierra_leone, overwrite = TRUE)