SubDistrict::getStatistics - jcobban/Genealogy GitHub Wiki

$subdistrict->getStatistics()

Up: class SubDistrict

This method returns statistics of the progress of the transcription of the enumeration division represented by this instance of SubDistrict on a page by page basis.

It returns an array of statistics where each row of the array is an associative array containing the following fields.

field description
'page' page number
'namecount' number of lines with given name
'agecount' number of lines with age
'idircount' number of lines with IDIR
'population' number of non-blank lines in original
'transcriber' name of transcriber
'proofreader' name of proofreader

This array contains a row for every page within the enumeration division, including rows for which 'namecount', 'agecount', and 'idircount' are all zero because no records are transcribed for that page.

Next: $subdistrict->save($xml)