read_psd
to handle reading in a PEPFAR DHI dataset [2024-11-14]read_psd
to allow user to retain Genie columns (dataelementuid
, categoryoptioncombouid
, approvallevel
, approvalleveldescription
) that were previously dropped [2024-08-21]get_metadata
to work for paths that are in either S3_READ
or S3_WRITE
for PEPFAR Posit Workbench [2024-07-08]achv_desc
, the new output of adorn_achievement
an ordered factor for ordering purposes [2024-07-02]adorn_achievement
to map directly to the new achievement colors and add a parameter to allow users to use the older version, classic = TRUE
[2024-07-01]adorn_achievment
, achv_desc
which is the legend description - 'Concerned', 'At Risk', 'On Target', or 'Above Target' [2024-07-01]get_metadata
when working with country files on PEPFAR Posit Workbnech (AWS) [2024-06-03]get_metadata
to allow it to work with PDAP Wave frozen files [2024-04-30] '|'
) instead of a tab ('\t'
) [2024-04-15]get_metadata
when working on PDAP when an explicit path is provided [2024-04-15]read_psd
, missing second condition about location in an if statement about location [2024-04-09]read_psd
to handle local paths as well as s3 paths to work on PEPFAR Posit Workbench [2024-04-02]get_metadata
with other file formats [2024-03-29]get_metdata
for file names on PEPFAR Posit Workbench that include "Recent" instead of the FYs, DATIM close, and version [2024-03-28] source_info
as thsi can be pulled from get_metadata()$source
[2024-03-08]read_psd
and allow to export as .rds or .parquet [2024-03-08]read_psd
to handle .parquet files which are stored on PEPFAR Posit Workbench [2024-03-08]read_msd
[2024-03-28]get_metadata
to ensure the naming is correct, namely an ISO date is included in the file name [2024-03-20]get_metadata
exporting a global object to returning a normal object a user must name [2024-03-20]get_metadata
to handle the new fiscal year introduce in FY24Q1i [2024-02-26]targeted_beneficiaries
in FSD [2023-10-03]get_metadata
[2023-07-18]apply_funding_type
for use with FSD or HRH SD to distiguish between service delivery and non-service deliveryread_msd
with read_psd
to be more inclusive of all of PEFAR's structured datasets [2023-02-07]read_msd
to read in HRH structured dataset [2023-02-07]metadata
family functions to get source info for HRH datasets [2023-02-07]get_metadata
), rather than returning one item at at time via source_info
[2022-10-12]return
type for source_info
of fiscal_year_label
which returns FY[XX]
[2022-10-12]glamr
to gophr
: apply_partner_type
, browse_knownissues
, clean_agency
, clean_column
, clean_indicator
, clean_psnu
, pluck_totals
, remove_centralsupport
, remove_mo
, remove_sch
, resolve_knownissues
, source_info
[2022-08-05]cascade_ind
that can be used to approximate the 90/95s as well as linkage and VLC. (2022-05-24)TX_CURR_Lag1
and TX_CURR_Lag2
as part of snapshot_ind
(2022-05-24)read_msd
and rename_official
(2022-04-08)read_msd
in order to allow old code to run without error (2022-04-08)read_msd
to be more efficient (2022-04-08)rename_official
, which previously (v3.0.2) look for stored credentials or prompted every time. (2022-03-15)rename_offical
to include fundingagency
to work within tameDP
. (2022-03-15)reshape_msd
, retiring clean
which had more to do with aligning with the old, "wide" versions of the MSDs and replacing it with a param, include_type
to exclude the period_type
column from the output dataframe. (2022-02-18)rename_official
to loop over operating units and filter query using a floor date if fiscal year or period are included in the data frame. (2022-01-26)rename_official
to remove timeout (due to large file size) and prompt for password if DATIM credentials are not stored via glamr::set_datim
. (2022-01-24)reshape_msd
(2021-10-07)rename_official
to see if credentials
are needed and provides them if stored in keyring
read_msd
naming for Genie outputs since the datasets now go through FY22 as of FY21Q3cresults_cumulative
in reshape_msd
resulting when there were cumulative indicators collected semi-annuallyreshape_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.