OcfaSet::getCountyStatistics - jcobban/Genealogy GitHub Wiki
$ocfaSet->getCountyStatistics()
Up: class OcfaSet
This method obtains statistics grouped at the Township level. It should be called on an instance of OcfaSet 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 |
---|---|
township | township name |
count | number of transcribed records for the township |
Examples:
$ocfas = new OcfaSet(array('county' => 'Middlesex'));
$result = $ocfas->getCountyStatistics();
Next: class Page