pycensus.census.countries.spain.ine_tables¶
Municipality-level INE tables: tourist dwellings (experimental VTE) and migration balance (EMCR).
load_migration_balance(provinces=None, data_dir=None)
¶
Per municipality: ine_netmig_{total,exterior,interior}_<year> (both sexes), net migration saldo from EMCR (table 69767).
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
provinces
|
Optional[Iterable[str]]
|
2-digit province codes; |
None
|
data_dir
|
Optional[str]
|
Folder of the raw downloads; |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
One row per municipality. |
load_tourist_dwellings(provinces=None, data_dir=None)
¶
Per municipality (GEOID, 5 digits): ine_tourist_dwellings_<period>, ine_tourist_places_<period> (period like 2026M05) and
ine_tourist_dwellings_share_<period> (% of census dwellings), plus ..._latest columns. Municipalities with INE-suppressed values are NaN.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
provinces
|
Optional[Iterable[str]]
|
2-digit province codes; |
None
|
data_dir
|
Optional[str]
|
Folder of the raw downloads; |
None
|
Returns:
| Type | Description |
|---|---|
DataFrame
|
One row per municipality. |