USAID-OHA-SI/gophr
and have been depricated in ICPIutilities
as the package will no longer be maintain.reshape_msd()
causing issues with period naming and dropping of periodsadorn_achievement()
to apply achieviement labeling and color; works with normal MSD structure and if reshaping using reshape_msd()
calc_achievement
for cumulative and quarterly target achievement calculationsprimepartner
from FSD and remove a tab quote from cop_budget_pipeline
amount that was throwing a warning after convering to a doublerename_official
to avoid inadvertently dropping/changing variables due to suffix patternresults_cumulative
for semi-annual indicators when using reshape_msd(direction = "quarter")
read_msd()
to handle two additional reshapes - semi-wide and quarters (for quarterly target achievement)read_msd()
, which was causing the variable to be renamed countrynamename identify_pd()
to provide periods in the same format as reshape_msd()
and decomission the use of targets as a parameterdplyr v1.0.0
or later to handle some of the code improvementsread_msd()
to handle changes to the variable naming with FSD and align with MSDreshape_msd()
val
column to be called value
(warning message added)reshape_msd()
from clean = TRUE
read_msd()
to not save as an rds and not delete original txt fileread_msd()
rds output filenameread_msd()
to read in rds if its already createdreshape_msd()
to be long and added a parameter to have a cleaner period output, clean = TRUE
read_msd()
to not try to delete file if providing a URLmech_name
in rename_official()
read_msd()
to handle variant of NAT_SUBNAT MSD structure for importingvroom
read_msd()
to handle only lower case variable in the MSD/Genie starting in FY19Q4imatch_msd()
since it is covered by read_msd()
read_msd()
to import the NAT_SUBNAT datasetcalc_genpop()
, which create a new disaggregate to breakout general population from key populationsreshape_msd()
to allow to work with naitive camel case variable names in MSDread_msd()
that didn't recognize Genie files which didn't convert the targets, quarters or cumulative to numeric columns.identify_pd()
updated to work with the new dataset structurereshape_msd()
function reshapes the current structure to fully long or to match the previous MSD's wider formatread_msd()
Fiscal_Year
treated as integerfile
and read_msd()
will extract the flat file and import itadd_cumulative()
rename_official()
cleaned up code, using curl
to check internet connectionread_msd()
where columns with now values would be converted to string. Important update for match_msd()
where this may occur.rename_official()
will print out a warning rather than result in an error, halting the rest of the script execution.match_msd()
as it is now included in the Genie (as of Oct 24, 2018)add_cumulative()
. Now it aggregates before adding a cumulative value in. match_msd()
functionidentifypd()
, where if pd_type == "year"
and prior_pd = TRUE
returned current yearadd_cumulative()
to be correct (ie using with Genie) (#36)add_cumulative()
that broke code if variables were upper case.rds
instead of .Rds
(#32)NEWS.md
file to track changes to the package.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.