{
  "cells": [
    {
      "cell_type": "markdown",
      "id": "south-america-intro",
      "metadata": {},
      "source": "# South America, offline and optional\n\nThe overview and each country layer are independent optional packs. Install only the matching local files you need using `aner maps install FILE.anermap`. All values are synthetic teaching data. There are no downloads while plotting. Generalized boundaries follow a pinned Natural Earth 2022 snapshot and do not provide current legal, municipal or street detail. Source depiction is not a sovereignty claim.\n\nThe overview includes twelve sovereign countries plus separately keyed source territory and indeterminate units, which receive no invented country values. The country maps use first administrative subdivisions; consult the catalogue codebook for exact keys. Bogota uses source identifier `COL-1399`, and Lima Province uses `PER-587`, because the source ISO fields collide with their surrounding departments.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-imports",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Requires the matching native development runtime and optional local map packs.\n",
        "// No network, online tiles or automatic download is used. All values are synthetic.\n",
        "// Boundaries: generalized Natural Earth 1:10m, pinned 2022 source snapshot.\n",
        "import aner.plot\n"
      ]
    },
    {
      "cell_type": "code",
      "id": "south-america-overview",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Install south.america for this overview; country detail packs are independent.\n",
        "plot.map(\"south.america\",\n",
        "    keys: List(\"ARG\", \"BOL\", \"BRA\", \"CHL\", \"COL\", \"ECU\", \"GUY\", \"PRY\", \"PER\", \"SUR\", \"URY\", \"VEN\"),\n",
        "    values: List(12.0, 9.0, 18.0, 14.0, 11.0, 8.0, 5.0, 7.0, 13.0, 6.0, 10.0, 15.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"South America: twelve countries, synthetic values\")\n",
        "    .caption(\"Natural Earth 2022; additional territory/disputed units have no data. Source depiction is not a sovereignty claim.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-argentina-context",
      "metadata": {},
      "source": "## Argentina\n\nUse only the `argentina` pack. This illustration supplies one synthetic value for exact source key `AR-B`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-argentina",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the argentina pack supplies this country administrative layer.\n",
        "plot.map(\"argentina\", keys: List(\"AR-B\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Argentina: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-bolivia-context",
      "metadata": {},
      "source": "## Bolivia\n\nUse only the `bolivia` pack. This illustration supplies one synthetic value for exact source key `BO-L`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-bolivia",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the bolivia pack supplies this country administrative layer.\n",
        "plot.map(\"bolivia\", keys: List(\"BO-L\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Bolivia: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-brazil-context",
      "metadata": {},
      "source": "## Brazil\n\nUse only the `brazil` pack. This illustration supplies one synthetic value for exact source key `BR-SP`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-brazil",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the brazil pack supplies this country administrative layer.\n",
        "plot.map(\"brazil\", keys: List(\"BR-SP\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Brazil: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-chile-context",
      "metadata": {},
      "source": "## Chile\n\nUse only the `chile` pack. This illustration supplies one synthetic value for exact source key `CL-RM`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-chile",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the chile pack supplies this country administrative layer.\n",
        "plot.map(\"chile\", keys: List(\"CL-RM\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Chile: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-colombia-context",
      "metadata": {},
      "source": "## Colombia\n\nUse only the `colombia` pack. This illustration supplies one synthetic value for exact source key `COL-1399`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-colombia",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the colombia pack supplies this country administrative layer.\n",
        "plot.map(\"colombia\", keys: List(\"COL-1399\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Colombia: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-ecuador-context",
      "metadata": {},
      "source": "## Ecuador\n\nUse only the `ecuador` pack. This illustration supplies one synthetic value for exact source key `EC-P`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-ecuador",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the ecuador pack supplies this country administrative layer.\n",
        "plot.map(\"ecuador\", keys: List(\"EC-P\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Ecuador: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-guyana-context",
      "metadata": {},
      "source": "## Guyana\n\nUse only the `guyana` pack. This illustration supplies one synthetic value for exact source key `GY-DE`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-guyana",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the guyana pack supplies this country administrative layer.\n",
        "plot.map(\"guyana\", keys: List(\"GY-DE\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Guyana: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-paraguay-context",
      "metadata": {},
      "source": "## Paraguay\n\nUse only the `paraguay` pack. This illustration supplies one synthetic value for exact source key `PY-ASU`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-paraguay",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the paraguay pack supplies this country administrative layer.\n",
        "plot.map(\"paraguay\", keys: List(\"PY-ASU\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Paraguay: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-peru-context",
      "metadata": {},
      "source": "## Peru\n\nUse only the `peru` pack. This illustration supplies one synthetic value for exact source key `PER-587`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-peru",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the peru pack supplies this country administrative layer.\n",
        "plot.map(\"peru\", keys: List(\"PER-587\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Peru: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-suriname-context",
      "metadata": {},
      "source": "## Suriname\n\nUse only the `suriname` pack. This illustration supplies one synthetic value for exact source key `SR-PM`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-suriname",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the suriname pack supplies this country administrative layer.\n",
        "plot.map(\"suriname\", keys: List(\"SR-PM\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Suriname: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-uruguay-context",
      "metadata": {},
      "source": "## Uruguay\n\nUse only the `uruguay` pack. This illustration supplies one synthetic value for exact source key `UY-MO`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-uruguay",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the uruguay pack supplies this country administrative layer.\n",
        "plot.map(\"uruguay\", keys: List(\"UY-MO\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Uruguay: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    },
    {
      "cell_type": "markdown",
      "id": "south-america-venezuela-context",
      "metadata": {},
      "source": "## Venezuela\n\nUse only the `venezuela` pack. This illustration supplies one synthetic value for exact source key `VE-A`. Every other administrative unit remains no data.\n"
    },
    {
      "cell_type": "code",
      "id": "south-america-venezuela",
      "metadata": {},
      "execution_count": null,
      "outputs": [],
      "source": [
        "// Only the venezuela pack supplies this country administrative layer.\n",
        "plot.map(\"venezuela\", keys: List(\"VE-A\"), values: List(10.0))\n",
        "    .projection(\"lambert_azimuthal_equal_area\")\n",
        "    .title(\"Venezuela: administrative regions\")\n",
        "    .caption(\"Synthetic index; Natural Earth 2022 source keys. Missing values are no data; no municipality or street detail.\")\n",
        "    .show()\n"
      ]
    }
  ],
  "metadata": {
    "kernelspec": {
      "name": "aner",
      "display_name": "Aner",
      "language": "aner"
    },
    "language_info": {
      "name": "aner",
      "file_extension": ".aner",
      "mimetype": "text/x-aner"
    },
    "aner": {
      "status": "example",
      "execution_mode": "persistent-session"
    }
  },
  "nbformat": 4,
  "nbformat_minor": 5
}
