Skip to content

pycensus.census.countries.spain.mobility.ecepov

INE ECEPOV-2021 (Encuesta de Caracteristicas Esenciales de la Poblacion y las Viviendas): persons aged 16+ by main means of transport to their place of work or study -- municipalities of more than 50,000 inhabitants and provincial capitals (table 55377), provinces (table 55371). No finer geography is published (the survey is a sample of the 2021 census population).

from pycensus.census.countries.spain.mobility import ecepov
ecepov.municipalities()   # {municipality name as INE writes it: {total, public, private, walk, other, transit_share, car_share, walk_share}}
ecepov.provinces()        # same per province ("Total Nacional" included)

norm_name(s)

Comparable municipality name: article moved to the front (Rozas, Las -> las rozas), ASCII, lower case.

Parameters:

Name Type Description Default
s str

Municipality name.

required

Returns:

Type Description
str

The normalised name.

municipalities(cache_dir=None)

ECEPOV commuting figures of the municipalities in the survey table.

Parameters:

Name Type Description Default
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None

Returns:

Type Description
dict

{normalised name: figures}.

provinces(cache_dir=None)

ECEPOV commuting figures of the provinces.

Parameters:

Name Type Description Default
cache_dir Optional[str]

Cache folder; None = the pycensus cache.

None

Returns:

Type Description
dict

{normalised name: figures}.