Man pages for CME.assistant
Reusable Assisting Functions for Child Mortality Estimation

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
check.and.install.pkgsCheck and install packages if missing
check.CC.profile.dataCompare CC profile tables to "results.csv"
compare.results.vs.cqtCompare the saved cqt vs results
create.IGME.keyCreate IGME_Key column
default_labela place holder, supply and it will be used in the 'get.match'...
dropbox_project_sync_offlet dropbox untrack 'Rproj user' folder Solve Dropbox...
final_dir_listfinal_dir_list: saved dir list of final results, could also...
find_latest_dateFind out the latest date of all the master files in the...
get.0_4.sourcesGet survey names for Table Under 5
get.5_24.sourcesGet survey names (sources) for 5 to 24
get.CME.UI.dataReturn different format of the final aggregate results...
get.country.infoLoad the country info file, requires dt object 'country_info'
get.cqt.from.aggfinalGet cqt file from final aggregated results for plotting,...
get.cqt.from.resultsMake cqt file from 'results.csv' file
get.dir_genderGet the sex-specific master dataset directory
get.dir_IMRGet the IMR master dataset directory
get.dir_NMRGet the NMR master dataset directory
get.dir_U5MRGet the U5MR master dataset directory
get.dt.cqtCollect data from the cqt file for plotting
get.file.nameShow all file directories within the file directory...
get.IGME.dirGet IGME "Code" dir for a given year
get.IGMEfig.dirGet "fig" dir for a given year
get.IGMEinput.dirGet "input" dir for a given year
get.IGMEoutput.dirGet "output" dir for a given year
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.new.sourceIDFormat the legend_ID for the master datasets
get.opt.dirGet optimal file directory from 'Output CMRJack' folder
get.raw.dirget raw file directory from 'Output CMRJack' folder
get.ref.dateCalculate start, end and average date in decimal from...
get.table.by.isoGet CC profile data by country
ggsave.figsUse 'ggsave' to save figs in both png and pdf
hiv.isohiv.iso: the 17 hiv isos
leap_yearleap year: if this is a leap year
load.final_dirReturn a saved dir_list for total and sex-specific Rates &...
load.IGMEinput.dirLoad the IGME "input" directories
load.IGMEoutput.dirload the IGME "output" directories
new_cnamesnew_cnames: the official country names: ISO3Code UNCode...
Rates_Deaths_Country_Summary_2019_UIRates_Deaths_Country_Summary_2019_UI: The 2019 final...
Rates_Deaths_Country_Summary_2020_UIRates_Deaths_Country_Summary_2020_UI: The 2020 final...
rbinddatasetRow-bind two datasets, check duplicated keys and set order
rbinddatasetNMRRow-bind two datasets for NMR with slight changes, check...
read.all.results.csvRead all "results.csv"
read.country.summaryfunction to read "Rates & Deaths_Country Summary.csv" and...
read.region.summaryfunction to read regional summary and output long format
read.results.csv.fileRead one results.csv file and reformat into long-format
revise.age.groupRemove 25-34 age group in 'dt_new_entries'
revise.pathAdjust the file dir if the lash is not right or the dropbox...
roundoffA rounding function that round off numbers in the...
save.CME.CC.profileSave CMR CC profile by country
search.for.fileSearch for file paths matched by part of the file name
shortind_indicatorshortind_indicator: match shortind to full indicator names
UNICEF_colorsUNICEF_colors load UNICEF color palette Load UNICEF blue,...
upper.first.letterCapitalize first letter of each word in the vector
CME.assistant documentation built on March 22, 2021, 5:07 p.m.