pycensus.census.countries.andorra.enm_mobility.loader¶
Andorra has no census question on the means of transport; the only parish-level figures are those of the representative citizen survey of the National Mobility Strategy 2021-2050 (ENM 2050; Centre de Recerca Sociologica, July 2021, 403 residents aged 18+), annex 2, table "Mode de desplacament en relacio amb les variables sociodemografiques (N=356)": share of respondents who travelled the day before the survey and used each mode at least once, by parish (several modes per person, so the rows add to more than 100 %).
The memoria (PDF) is downloaded once from the Govern d'Andorra into <cache>/andorra/enm_mobility/ and the table is read from its
text (pdftotext -layout, else pypdf).
from pycensus.census.countries.andorra import enm_mobility
enm_mobility.parish_table() # GEOID (AD-0X), parish, respondents, walk / bike / pmv / transit / car / moto / other share (0-1)
parish_table(cache_dir=None)
¶
Travel modes by parish from the 2021 national mobility survey (ENM) report, parsed from its PDF and cached.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cache_dir
|
Optional[str]
|
Cache folder; |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
One row per parish ( |
load(cache_dir=None, **_)
¶
The parish table (no geometry needed: join on GEOID with :func:pycensus.census.countries.andorra.geography.load_boundaries).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
cache_dir
|
Optional[str]
|
Cache folder; |
None
|
**_
|
Ignored (common loader signature). |
{}
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
The parish table. |