Skip to content

pycensus.census.countries.chile.constants

Static Chile geography reference data shared by every Chile census source.

Technical aspects

Chile's administrative divisions (DIVIPOLA-style codes used throughout Chilean government open data):

  • Nation (Chile)
  • Region (region) -- 16 regions (I-XII, Metropolitana, Los Rios, Los Lagos was split off Ayesen/Arica-Parinacota etc.; today's 16 include "Region de Nuble" (16), split from Bio-Bio in 2018). 2-digit numeric code (codregion in the real boundary file, Region column in INE's projection table).
  • Provincia (province) -- a real 2-digit Provincia code appears in INE's population table, but no verified, directly-downloadable provincia boundary file was found in this session (see :mod:pycensus.chile.geography module docstring) -- so province is deliberately left unimplemented rather than guessed.
  • Comuna (municipality) -- 346 comunas (as of the real boundary file used here), the level at which mayors ("alcaldes") are elected. 5-digit code (cod_comuna in the boundary file / Comuna in INE's table): first 2 digits are the region code, last 3 are a per-region sequential comuna number (e.g. "13101" = Region 13 [Metropolitana] + comuna 101 = Santiago; "08101" = Region 8 [Bio-Bio] + comuna 101 = Concepcion).

Region codes and names below were extracted directly from the real downloaded boundary file (see :mod:pycensus.chile.geography) -- comunas.shp's codregion/Region columns, verified 2026-08-20. Region "0" ("Zona sin demarcar" -- undemarcated maritime/ Antarctic claim area with no comuna) is excluded here; it carries no population data and no real comuna geometry.

Source

https://www.ine.gob.cl/ (population), https://www.bcn.cl/siit/mapas_vectoriales (boundaries)