metawards.WardInfo¶
- 
class metawards.WardInfo(name: str = '', alternate_names: List[str] = <factory>, code: str = '', alternate_codes: List[str] = <factory>, authority: str = '', authority_code: str = '', region: str = '', region_code: str = '')[source]¶
- This class holds metadata about a ward, e.g. its name(s), any ID code(s), any information about the region or authority it is in etc. - 
__init__(name: str = '', alternate_names: List[str] = <factory>, code: str = '', alternate_codes: List[str] = <factory>, authority: str = '', authority_code: str = '', region: str = '', region_code: str = '') → None¶
 - Methods - __init__(name, alternate_names, code, …)- Attributes - authority- The name of the local authority it is in - authority_code- The ID of the local authority it is in - code- Official ID code of the ward - name- Name of the ward - region- The name of the region it is in - region_code- The ID of the region it is in - 
alternate_codes= None¶
- Any alternative ID codes of the ward 
 - 
alternate_names= None¶
- Any alternative names of the ward 
 - The name of the local authority it is in 
 - The ID of the local authority it is in 
 - 
code= ''¶
- Official ID code of the ward 
 - 
name= ''¶
- Name of the ward 
 - 
region= ''¶
- The name of the region it is in 
 - 
region_code= ''¶
- The ID of the region it is in 
 
-