msk_release.Rd
This function is used to upload the new masked dataset to GitHub
(USAID-OHA-SI/themask) so that others can use it. This function is for
package developers use only. The data from msk_create()
are subset to
16 PSNUs and masked across geographic and mechanism variables. Either the
PSNUxIM or NAT_SUBNAT Structured Datasets can be masked.
msk_release(filepath, output_folder)
dataframe with converted geography + mech info
msk_create
if (FALSE) { # \dontrun{
#create and upload a new release
library(glamr)
library(themask)
#store path to latest MSD
path <- si_path() %>% return_latest("PSNU_IM")
#create a masked dataset from the PSNUxIM MSD
msk_release(path, "project1/data")
} # }
if (FALSE) { # \dontrun{
#upload release from an existing masked dataset
library(glamr)
library(themask)
#store path to masked dataset
path_msk <- return_latest("project1/data","TRAINING")
#create a masked dataset from the PSNUxIM MSD
msk_release(path_msk)
} # }