Skip to contents

All functions

checkFetusesLiveborn()
tells us how number of infants and liveborns add up in the mother table
checkFetusId()
tells us how the number of fetuses and liveborns add up in the mother table and babytable
checkOutcomeMode()
tells us how outcome and mode of delivery add up in the mother table
executeChecks()
this function executes the desired checks "overview","annualOverview","missing", "unknown","gestationalAge","datesAgeDist","outcomeMode", "fetusesLiveborn","fetusid","weightDist","bitSet"
getAnnualOverview()
tells us how many pregnancies there are per year
getBitSet()
tells us how the missing/unknown data pattern of both tables, mother or baby table looks like (depending on the input)
getMissings()
tells us how many missing values are there in the mother table or infant table (depending on the input)
getOverview()
Tells us how many women and pregnancies there are when the mother table is assessed and how many pregnancies and infants there are in case the infant table is assessed
getUnknown()
tells us how many unknown values there are in the mother table (no unknown values possible for the infant table)
getValueDatesAgeDist()
tells us what the minimum and maximum of pregnancy start and end dates as well as the distribution of gestational age are
getValueWeightDist()
tells us what the distribution of birth weight in the baby table is
mockPregnancy()
This function creates a mock pregnant and fetus population
summariseGestationalAge()
tells us how pregnancy dates and gestational age add up in the mothertable
writeResultToDisk()
Write diagnostics results to a zip file on disk in given output folder.