remove_sch.Rd
When working with financial data, its often useful to remove Supply Chain mechanism and funding from the data.
remove_sch(df, poc = c("SCH", "SGAC"), flag_only = FALSE)
a df without supply chain mechanisms
The list of SCH mechanisms is maintained by the EA team on a Google Sheet. A USAID email is required to access the dataset.
[set_email()] to store USAID email; [load_secrets()] to load credentials into session
if (FALSE) { # \dontrun{
#authenticate
load_secrets()
#remove SCh using SGAC list
df <- remove_shc(df, poc = "SGAC") } # }