BirthSet::getStatistics - jcobban/Genealogy GitHub Wiki

$birthSet->getStatistics()

Up: class BirthSet

This method gets the statistics for a specific set of birth registrations grouped by county. It returns an array with one row for each county in the set, which is an associative array containing the following fields:

field name contents
county county code. See class County.
count number of transcribed records
linkcount number of birth transcriptions that are linked to the family tree
low lowest registration number within the county
high highest registration number within the county

Examples:

$births		= new BirthSet(array('domain'	=> 'CAON',
     				     'year'	=> 1887));
$result		= $births->getStatistics();

Next: $set->getCountyStatistics()