-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PEPFAR Academy Pivot Table Content #103
Comments
hi all, please login to the PEPFAR Virtual Academy to take a look at our course outline in open edX. |
Here's a snapshot |
I updated the masked dataset again from the initial to the cleaned data. Masked datasets are accessible on the ICPI/TrainingDataset repo |
I'm attaching the subset training dataset to use for our videos. It includes just HTS (HTS_TST, HTS_TST_POS, HTS_TST_NEG). #CODE FOR PVA TRAINING DATASET
#dependencies
library(tidyverse)
library(fs)
library(ICPIutilities)
#training dataset url on Github
dataset_url <- "https://media.githubusercontent.com/media/ICPI/TrainingDataset/master/Output/MER_Structured_TRAINING_Dataset_PSNU_IM_FY17-18_20181221_v2_1.txt"
#import
df_trn <- read_msd(dataset_url, to_lower = FALSE, save_rds = FALSE)
#create a temporary local save location
(tmp <- dir_create(file_temp()))
#save name
filename <- file.path(tmp, "FY18Q4c_TRAINING_MSD_HTS.txt")
#filter and export
df_trn %>%
filter(str_detect(indicator, "HTS_TST")) %>%
write_tsv(filename, na = "")
#zip folder name
zipname <- str_replace(filename, "txt", "zip")
#zip
zip(zipname, filename, extras = "-j") |
@achafetz i'm having a hard time opening the training dataset...i keep getting sent through a bunch of folders matroyshka (nesting doll) style |
@achafetz |
😬 oh boy that is a mess! Apparently I was missing an option in the zipped filed updated here and code is updated above. |
@achafetz thank you! is this stored in a file/folder on the DIV repo or another repo currently? If not, can we put it here or somewhere else that makes sense? I'd like to try to link to it from the PVA course https://github.com/ICPI/DIV/tree/master/Training/PVA_PEPFARBetweentheSheets |
That makes sense. It's just linked in this issue, but I think it makes sense to add it to the training site. I'll do that now. |
In preparation for the PEPFAR Academy, the DIV/GCB team will put together material for a number of short (1-5 minute) sessions on creating pivot tables in Excel using the MSD.
@ICPI/guidance-capacity-building members (and other volunteers) should sign up for one of the session below and outline the content. Update the markdown file with your session material. We review all sessions prior to the Dec 11 training session where we will record them and make a course on PEPFAR Academy.
**Sign up for sessions below and complete outline on the markdown document **
Pivot Table Training
UPDATED Feb 8 Data set to use - Training Dataset (FY18Q4)
The text was updated successfully, but these errors were encountered: