| | 3 | |
| | 4 | == Purpose == |
| | 5 | |
| | 6 | The S3Hierarchy toolkit can be used to perform lookups in hierarchical taxonomies. It analyses the parent-relationships of the records, and provides methods to access and search through the parent-, child- and sibling-axes of each record. |
| | 7 | |
| | 8 | == Example == |
| | 9 | |
| | 10 | Facility type as an example for a hierarchical taxonomy: |
| | 11 | |
| | 12 | - Arts and Recreation |
| | 13 | - Recreation Centers |
| | 14 | - Community Groups |
| | 15 | - Volunteer Opportunities |
| | 16 | - Education |
| | 17 | - Adult Education |
| | 18 | - Guidance and Tutoring Programs |
| | 19 | - Health and Mental Health |
| | 20 | - Dental Care |
| | 21 | - Health Centers |
| | 22 | - Health Clinics |
| | 23 | - Health Screening and Testing |
| | 24 | - Hospitals and Medical Centers |
| | 25 | - Mental Health Counseling |
| | 26 | - Mental Health Programs |
| | 27 | - Public Health Programs |
| | 28 | - Substance Abuse Programs |
| | 29 | - Social Services |
| | 30 | - Children and Family Services |
| | 31 | - Public Information Services |
| | 32 | - Senior Services |
| | 33 | - Support Groups |
| | 34 | |
| | 35 | == Data Model == |
| | 36 | |
| | 37 | - ''tbw'' |