# El Salvador municipality and city population, 1975-2030

**Compare El Salvador's 2024 official population with its major urban centres from 1975 to 2030.** It holds the UNFPA and DIGESTYC projection for the country, 14 departments, 44 municipalities and the pre-2024 districts, with women and men counted separately, plus 12 urban centres modelled every five years from 1975 through 2030. The projection and the urban-centre model stay on separate rows. An…

El Salvador municipality and city population, 1975-2030 is an open, machine-readable dataset published on Mostly Right as immutable Parquet versions, with a documented column schema, a JSON query API and a direct download. Its first rows are free to read and it is open to AI agents.

## Facts

- Slug: `el-salvador-municipality-and-city-population-1975-2030`
- Canonical page: https://mostlyright.md/datasets/el-salvador-municipality-and-city-population-1975-2030
- Publisher: mostlyrightmd (https://mostlyright.md/publishers/mostlyrightmd)
- Published: 2026-11-25T18:41:42.917Z
- Tables: 2
- Formats: Apache Parquet (download), JSON (query and sample)
- Cost: the first 500 rows of each table are free to everyone; querying and downloading need a free account and count against a monthly free allowance unless the workspace is subscribed
- Metadata API: `GET https://mostlyright.md/api/v2/public/datasets/el-salvador-municipality-and-city-population-1975-2030`
- Topics: el salvador, population, municipalities, cities, departments, urban centres

## Table directory

Tables follow the publisher's curated order. Display labels do not change table identifiers.

Start here: municipality_crosswalk — table id: e65fe23e-46a5-478a-8a55-f0a8c583695a

- municipality_crosswalk — table id: e65fe23e-46a5-478a-8a55-f0a8c583695a; published name: municipality_crosswalk; https://mostlyright.md/datasets/el-salvador-municipality-and-city-population-1975-2030/tables?table=municipality-crosswalk
- population — table id: c9dcfca1-e232-4dce-a0c1-43c8804e8715; published name: population; https://mostlyright.md/datasets/el-salvador-municipality-and-city-population-1975-2030/tables?table=population

## How to use it

1. Read a table's schema — no account needed.
2. Fetch its published sample rows — no account needed.
   The first 500 rows of every table, in stored order, are free to everyone, with or without an account. Without an account you get that sample and ranked row search on public tables (search_table). An empty search query pages through a table in stored order. There is no filter, sort or download without an account.
3. Log in at https://mostlyright.md/login, connect this dataset to a workspace on its page, and create an `mr_use_` key.
4. Query bounded JSON, or download the complete Parquet snapshot and read it locally.
   A free workspace may read 100,000 rows and run 1,000 queries a UTC month past the sample. The allowance is shared by everyone in the workspace, and a free workspace may have any number of members. Reads count against the workspace whose data or key they use. A subscribed workspace is never counted, for anyone working in it.

Agents can do all of this over MCP at `https://mostlyright.md/api/mcp` — searching, reading schemas and sampling rows work with no credential at all.

## Table: municipality_crosswalk

- Table id: `e65fe23e-46a5-478a-8a55-f0a8c583695a`
- Slug: `municipality-crosswalk`
- Immutable version: `097b19cf-df1f-5796-ab18-ee371c5068a1`
- Schema: `GET https://mostlyright.md/api/v2/public/tables/e65fe23e-46a5-478a-8a55-f0a8c583695a/schema`
- Sample rows, no key: `GET https://mostlyright.md/api/v2/public/tables/e65fe23e-46a5-478a-8a55-f0a8c583695a/preview`
- Bounded JSON query: `POST https://mostlyright.md/api/v2/public/tables/e65fe23e-46a5-478a-8a55-f0a8c583695a/query` with `x-api-key: mr_use_…`
- Full Parquet snapshot: `GET https://mostlyright.md/api/v2/public/tables/e65fe23e-46a5-478a-8a55-f0a8c583695a/current` with `x-api-key: mr_use_…` (application/vnd.apache.parquet)

### Columns (9)

| Column | Type | Description |
| --- | --- | --- |
| `district_pcode` | string | P-code of the pre-2024 district. |
| `district_name` | string | Name of the pre-2024 district. |
| `municipality_pcode` | string | P-code of the 2024 parent. A water feature keeps its own code. |
| `municipality_name` | string | Name of the 2024 municipality, or of a named lake or reservoir. |
| `department_pcode` | string | P-code of the department. |
| `department_name` | string | Name of the department. |
| `country_pcode` | string | Country P-code. |
| `parent_kind` | string | municipality_2024 or water_feature. Lakes and the Cerron Grande reservoir are not one of the 44 municipalities. |
| `area_sqkm` | number | Area of the district in square kilometres, as the gazetteer records it. |

## Table: population

- Table id: `c9dcfca1-e232-4dce-a0c1-43c8804e8715`
- Slug: `population`
- Immutable version: `8c77cf88-dc78-5bdf-be48-06be49285a2e`
- Schema: `GET https://mostlyright.md/api/v2/public/tables/c9dcfca1-e232-4dce-a0c1-43c8804e8715/schema`
- Sample rows, no key: `GET https://mostlyright.md/api/v2/public/tables/c9dcfca1-e232-4dce-a0c1-43c8804e8715/preview`
- Bounded JSON query: `POST https://mostlyright.md/api/v2/public/tables/c9dcfca1-e232-4dce-a0c1-43c8804e8715/query` with `x-api-key: mr_use_…`
- Full Parquet snapshot: `GET https://mostlyright.md/api/v2/public/tables/c9dcfca1-e232-4dce-a0c1-43c8804e8715/current` with `x-api-key: mr_use_…` (application/vnd.apache.parquet)

### Columns (23)

| Column | Type | Description |
| --- | --- | --- |
| `row_key` | string | Stable key of series, level, code, year, sex, age group and occurrence. |
| `series` | string | hdx_cod_ps_2024 or ghs_ucdb_r2024a. |
| `measure_kind` | string | official_projection or gridded_model. |
| `unit_level` | string | country, department, municipality_2024, district_pre_2024, water_feature or urban_centre. |
| `unit_code` | string | P-code, or the GHS-UCDB urban-centre id. |
| `unit_name` | string | Name of the place as the source prints it. |
| `parent_code` | string | P-code of the parent unit. Empty for the country and for urban centres. |
| `parent_name` | string | Name of the parent unit. Empty for the country and for urban centres. |
| `department_code` | string | Department P-code. Empty for the country and for urban centres. |
| `department_name` | string | Department name. A department row repeats its own name. Empty for urban centres. |
| `iso3` | string | ISO 3166-1 alpha-3 code. SLV for every row. |
| `reference_year` | integer | Reference year of the figure. Projection rows are 2024. Urban-centre rows are the five-year epochs from 1975 to 2030. |
| `sex` | string | female, male or both. Urban-centre rows are both only. |
| `age_group` | string | Age group. Every row in this build is total. |
| `occurrence` | integer | 1 when the code is unique. 2 or 3 when the published file repeats that P-code, ordered by the published total. |
| `population` | number | People. Zero is a real published total for lakes, the Cerron Grande reservoir, and any district the file records as zero. |
| `code_status` | string | unique, or shared_pcode when the published file uses one P-code for more than one row. |
| `civil_war_epoch` | boolean | True when the reference year is 1980, 1985 or 1990, the five-year epochs inside the 1979-1992 civil war. Those rows are modelled urban centres, not a wartime m… |
| `method` | string | How this figure was produced, including the repeated-P-code caveat where it applies. |
| `source_title` | string | Title of the publication this row comes from. |
| `source_url` | string | Public page for the publication. |
| `licence` | string | Licence name for this row. CC BY-IGO 3.0 or CC BY 4.0. |
| `place_text` | string | Place name, parent, department and level, for search. |

## Citing this dataset

Cite the dataset by name and canonical URL (https://mostlyright.md/datasets/el-salvador-municipality-and-city-population-1975-2030), the table, and the immutable `version_id` the rows came from. A query response carries `table.version_id` and `table.content_digest`; a download carries a strong ETag and a `Content-Digest` header.
