Testing {cleanepi} and {visdat} on 2024 global.health mpox data #316
adamkucharski
started this conversation in
General
Replies: 2 comments
-
Thank Adam for raising this.
I will work on this and get back to you.
Kind regards,
Karim
From: Adam Kucharski ***@***.***>
Date: Monday, 16 September 2024 at 11:55
To: epiverse-trace/epiverse-trace.github.io ***@***.***>
Cc: Karim MANE ***@***.***>, Mention ***@***.***>
Subject: [Epiverse-TRACE] Testing {cleanepi} and {visdat} on 2024 global.health mpox data (Discussion #316)
I ran cleanepi (cc @Karim-Mane<https://github.com/Karim-Mane>) and visdat<https://docs.ropensci.org/visdat/> functions on the emerging global.health mpox dataset<https://reports.global.health/mpox-2024/>. Code below. Relatively few entries seemed to be identified as missing, so thing it highlighted was how empty entries are handled if equal to "".
Would be interested to hear thoughts on a useful minimal pipeline to recommend on this dataset, as it could be a nice illustrative example of first-pass functionality.
pak::pak("epiverse-trace/cleanepi")
pak::pak("visdat")
library(cleanepi)
library(visdat)
library(dplyr)
# Load global.health data
data_in <- read.csv("https://mpox-2024.s3.eu-central-1.amazonaws.com/latest.csv")
# Scan with cleanepi
scan_result <- scan_data(data_in)
# Run vis_data on subset
data_in_subset <- data_in |> dplyr::select("Case_status","Age","Gender","Date_onset","Date_confirmation")
vis_dat(data_in_subset)
—
Reply to this email directly, view it on GitHub<#316>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUEWL64IRG3XPBZIAWEINYDZW3BL3AVCNFSM6AAAAABOJEA7RKVHI2DSMVQWIX3LMV43ERDJONRXK43TNFXW4OZXGE4TGOJZHE>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
@adamkucharski in case it is useful here is some R code that will download the data from the WHO Shiny app which has weekly cases for Africa. Might be slightly wonky and fall over if they change their Shiny App much, but I couldn't find a more reliable way to download it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I ran cleanepi (cc @Karim-Mane) and visdat functions on the emerging global.health mpox dataset. Code below. Relatively few entries seemed to be identified as missing, so thing it highlighted was how empty entries are handled if equal to
""
.Would be interested to hear thoughts on a useful minimal pipeline to recommend on this dataset, as it could be a nice illustrative example of first-pass functionality.
Beta Was this translation helpful? Give feedback.
All reactions