Man pages for unicef-drp/CME.assistant
Reusable Assisting Functions for Data Analysis

add.new.series.by.IDAdd new series, match by only 'DataCatalogID'
add.new.series.by.nameAdd new series, match by both 'IGME_Key' and 'Series.Name'
add.new.series.imrAdd new IMR entries (dt_new_entries), now the same function...
add.new.series.nmrAdd new NMR entries ('dt_new_entries')
add.new.series.u5mrAdd new U5MR or IMR entries (dt_new_entries)
add.Original.Series.NameAdd an original series name
calculate.4q1Calculate 4q1 from 5q0 and 1q0
calculate.5q0Calculate 5q0 from 1q0 and 4q1
calculate.arrGet the logarithmic annual rate of reduction, expressed as a...
calculate.pdCalculate percentage decline
check.and.install.pkgsCheck and attach libraries. Install if not.
create.IGME.keyCreate IGME_Key column
default_labelA place holder, if supplied in global environment it will be...
find_latest_dateFind out the latest date of all the master files in the...
get.CME.UI.dataReturn different format of the final aggregate results...
get.country.info.CMELoad the "country.info.CME"
get.dir_genderGet the sex-specific master dataset directory
get.dir_IMRGet the IMR master dataset directory
get.dir_latest_fileGet the file directory with latest date in the filename
get.dir_NMRGet the NMR master dataset directory
get.dir_U5MRGet the U5MR master dataset directory
get.file.nameShow all file directories within the file directory...
get.IGMEinput.dirGet "input" dir for a given year
get.IGMEoutput.dirGet "output" dir for a given year
get.live.birthLoad the "data_livebirths.csv", add ISO3Code and country...
get.matchA label function to replace values by a given list in a...
get.max.dateInternal function to check if the input is date, and figure...
get.numeric.dateTransform date into numeric numbers like 2020.55
get.opt.dirGet optimal file directory from 'Output CMRJack' folder
get_oscheck system, return . Used as nternal function.
get.pop.from.CMEExtract long-format pop0 and pop1-4 from country.info.CME
get.raw.dirGet raw file directory from 'Output CMRJack' folder
get.ref.dateCalculate start, end and average date in decimal from...
get.workdirGet IGME "Code" dir for a given year
get.workdir.dropboxGet IGME "Code" dir for a given year from Dropbox
get.workdir.sharepointGet IGME "Code" dir for a given year from SharePoint
hiv.isohiv.iso: the 17 hiv isos
leap_yearInternal function: Check if 'date' is a leap year
load_os_leading_dirGet leading path in file directories depending on operation...
rbinddatasetRow-bind two datasets, check duplicated keys and set order
rbinddatasetNMRRow-bind two datasets for NMR with slight changes, check...
read.all.results.csvRead and bind all "results.csv" into one file using...
read.country.summaryRead "Rates & Deaths_Country Summary.csv" and output long...
read.region.summaryRead regional summary and output long format
read.region.summary.SBprojsometimes maybe useful, to read the wide-year format SBR...
read.results.csvRead one results.csv file and reformat into long-format
revise.age.groupBy default remove 25-34 and 10-19 age group in...
revise.pathAdjust the file dir if the lash is not right or the Dropbox...
roundoffA rounding function that rounds off numbers in the...
search.for.fileSearch for file paths matched by part of the file name
shortind_indicatorList of shortind_indicator: match shortind to full indicator...
UNICEF_colorsUNICEF_colors contains the UNICEF color palette including...
upper.first.letterCapitalize first letter of each word in the vector
unicef-drp/CME.assistant documentation built on July 9, 2024, 8:34 p.m.