BirthSet::getCountyStatistics - jcobban/Genealogy GitHub Wiki
$birthSet->getCountyStatistics()
Up: class BirthSet
This method obtains statistics grouped at the Township level. For clarity it should be renamed getTownshipStatistics. It should be called on an instance of BirthSet that has been selected for a single County, but that is not essential as most administrative domains enforce distinct township names.
It returns an array each row of which is an associative array containing the following values for each town, city, or township in the county:
field name | contents |
---|---|
county | county code |
township | township name |
count | number of transcribed records for the township |
linkcount | number of transcriptions linked to the family tree for the township |
Low | Lowest registration number in the township |
high | highest registration number in the township |
currhigh | highest registration number in the township, excluding delayed registrations which are numbered above 500,000 |
Examples:
$births = new BirthSet(array('domain' => 'CAON',
'year' => 1887,
'county' => 'Msx'));
$result = $births->getCountyStatistics();
Next: class Blog