- Fixes minor bug with how
adorn_weights
andcombine_data
handle Organization Units with duplicative UIDs.
- Deprecates
get_coc_metadata
,get_de_metadata
,get_ou_metadata
,get_pe_metadata
, andget_pvls_emr_data
for a single function calledget_s3_data
which takes in an argument nameddataset_name
to indicate which file to update. - Renames
get_data_availability
toget_import_history
. - Renames
weighting_levels
toadorn_weights
.
get_s3_data
andfetch_s3_files
now both allow the user to only update files if the data has changed on S3 since the last time a file was grabbed.
- Updates R from version 3.6.3 to version 4.1.1
- Updates versions of several required and suggested packages
- New
data-raw
files added for updating data for a single OU and for saving CSVs with country data.
adorn_daa_data
now no longer exports columnscounty_of_matched_sites
,pepfar_sum_at_matched_sites
,weighting
,weighted_discordance
, orweighted_concordance
.count_of_matched_sites
andpepfar_sum_at_matched_sites
will now no longer be supported.weighting
,weighted_discordance
, andweighted_concordance
will be replaced by weights and metrics calculated at each level of the organisation hierarchy going forward and will be calculated using theweighting_levels
function.
weighting_levels
is a new function that calculates weightings as well as concordance and discordance metrics for DAA indicators at all levels of the organisation hierarchy.
- Adds UIDs for each organisation hierarchy level to
ou_hierarchy
dataset - Documentation updates
- Adds
NEWS.md
file