Skip to content

pycensus.census.countries.canada.toronto

City of Toronto Neighbourhood Profiles (2021 Census of Population) as a pycensus source: 158 neighbourhoods, ~330 characteristics.

load(aoi=None, level='neighbourhood', cache_dir=None, data_dir=None, canada_dir=None, **_ignored)

Toronto neighbourhoods (or, with the Ontario Census Profile on disk, dissemination areas) with every schema characteristic.

Parameters:

Name Type Description Default
aoi Optional[GeoDataFrame]

Area of interest (GeoDataFrame).

None
level str

"neighbourhood" or "dissemination-area".

'neighbourhood'
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None
data_dir Optional[str]

Folder of the raw downloads; None = the pycensus cache.

None
canada_dir Optional[str]

Folder of the Canada census downloads.

None
**_ignored

Ignored.

{}

Returns:

Type Description
GeoDataFrame

GeoDataFrame (EPSG:4326).