{
  "_id": "6a3a3e6d6265ec60d620a631",
  "Package": "mapcan",
  "Type": "Package",
  "Title": "Tools for Plotting Canadian Choropleth Maps and Choropleth\nAlternatives",
  "Version": "0.0.1",
  "Authors@R": "c(\nperson(\"Andrew\", \"McCormack\", email = \"mccormack.andy@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Aaron\", \"Erlich\", email = \"aaron.erlich@mcgill.ca\", role = c(\"aut\")))",
  "Maintainer": "Andrew McCormack <mccormack.andy@gmail.com>",
  "Description": "A variety of functions that make it easy to plot standard\nchoropleth maps as well as choropleth alternatives in\n'ggplot2'.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "RoxygenNote": "6.1.1",
  "VignetteBuilder": "knitr",
  "Repository": "https://mccormackandrew.r-universe.dev",
  "Date/Publication": "2019-05-10 16:57:49 UTC",
  "RemoteUrl": "https://github.com/mccormackandrew/mapcan",
  "RemoteRef": "HEAD",
  "RemoteSha": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-23 08:03:21 UTC",
    "User": "root"
  },
  "Author": "Andrew McCormack [aut, cre],\nAaron Erlich [aut]",
  "MD5sum": "1d754866499a63088241e7b0929e77ac",
  "_user": "mccormackandrew",
  "_type": "src",
  "_file": "mapcan_0.0.1.tar.gz",
  "_fileid": "f0d5c4157e8b7b1cdb4df94a47940186a98800ae7fa9778fe06edebb29b2b9a1",
  "_filesize": 4615987,
  "_sha256": "f0d5c4157e8b7b1cdb4df94a47940186a98800ae7fa9778fe06edebb29b2b9a1",
  "_created": "2026-06-23T08:03:21.000Z",
  "_published": "2026-06-23T08:06:05.490Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 82905818674,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7814924558"
    },
    {
      "job": 82905818627,
      "time": 109,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7814921806"
    },
    {
      "job": 82905818649,
      "time": 128,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7814921983"
    },
    {
      "job": 82905818675,
      "time": 132,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7814921249"
    },
    {
      "job": 82905298306,
      "time": 166,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7814882205"
    },
    {
      "job": 82905818622,
      "time": 101,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7814919010"
    },
    {
      "job": 82905818681,
      "time": 115,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7814923726"
    },
    {
      "job": 82905818634,
      "time": 82,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7814912037"
    },
    {
      "job": 82905818680,
      "time": 84,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7814912816"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/mccormackandrew/mapcan",
  "_commit": {
    "id": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
    "author": "mccormackandrew <31625315+mccormackandrew@users.noreply.github.com>",
    "committer": "mccormackandrew <31625315+mccormackandrew@users.noreply.github.com>",
    "message": "Delete release file\n",
    "time": 1557507469
  },
  "_maintainer": {
    "name": "Andrew McCormack",
    "email": "mccormack.andy@gmail.com",
    "login": "mccormackandrew",
    "description": "",
    "uuid": 31625315
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 2.10",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    }
  ],
  "_owner": "mccormackandrew",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 7,
  "_contributors": [
    {
      "user": "mccormackandrew",
      "count": 54,
      "uuid": 31625315
    }
  ],
  "_userbio": {
    "uuid": 31625315,
    "type": "user",
    "name": "mccormackandrew",
    "followers": 3
  },
  "_downloads": {
    "count": 251,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapcan"
  },
  "_devurl": "https://github.com/mccormackandrew/mapcan",
  "_searchresults": 24,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/mapcan.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/mccormackandrew/mapcan",
  "_realowner": "mccormackandrew",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.0.1",
      "date": "2019-05-09"
    }
  ],
  "_exports": [
    "%>%",
    "mapcan",
    "riding_binplot",
    "theme_mapcan"
  ],
  "_datasets": [
    {
      "name": "census_divisions_2016",
      "title": "Census divisions (2016)",
      "object": "census_divisions_2016",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "group",
        "census_division_name",
        "census_division_type",
        "pr_sgc_code",
        "pr_alpha",
        "pr_english",
        "pr_french",
        "census_division_code"
      ],
      "rows": 26099,
      "table": true,
      "tojson": true
    },
    {
      "name": "census_divisions_2016_carto",
      "title": "Census divisions cartogram data frame (territories included) (2016)",
      "object": "census_divisions_2016_carto",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "group",
        "census_code",
        "census_division_name",
        "census_division_type",
        "pr_sgc_code",
        "pr_alpha",
        "pr_english",
        "pr_french"
      ],
      "rows": 38595,
      "table": true,
      "tojson": true
    },
    {
      "name": "census_divisions_2016_noterr_carto",
      "title": "Census divisions cartogram data frame (territories excluded) (2016)",
      "object": "census_divisions_2016_noterr_carto",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "group",
        "census_code",
        "census_division_name",
        "census_division_type",
        "pr_sgc_code",
        "pr_alpha",
        "pr_english",
        "pr_french"
      ],
      "rows": 25329,
      "table": true,
      "tojson": true
    },
    {
      "name": "census_pop2016",
      "title": "Census division population data for 2011 and 2016",
      "object": "census_pop2016",
      "class": [
        "data.frame"
      ],
      "fields": [
        "census_code",
        "census_division_type",
        "pr_sgc_code",
        "pr_english",
        "population_2016",
        "population_density_2016",
        "land_area_2016",
        "population_2011",
        "pr_french",
        "pr_alpha",
        "born_outside_canada",
        "census_division_name",
        "born_outside_canada_share"
      ],
      "rows": 293,
      "table": true,
      "tojson": true
    },
    {
      "name": "federal_election_results",
      "title": "Canadian federal election results data",
      "object": "federal_election_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "riding_name_english",
        "riding_name_french",
        "riding_code",
        "population",
        "voter_turnout",
        "candidate",
        "election_year",
        "party",
        "pr_alpha",
        "pr_french",
        "pr_sgc_code",
        "pr_english"
      ],
      "rows": 2172,
      "table": true,
      "tojson": true
    },
    {
      "name": "federal_riding_bins",
      "title": "Canadian federal riding bins (used for tile plots)",
      "object": "federal_riding_bins",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "pr_alpha",
        "representation_order",
        "pr_english",
        "pr_french",
        "pr_sgc_code",
        "riding_code"
      ],
      "rows": 947,
      "table": true,
      "tojson": true
    },
    {
      "name": "federal_riding_hexagons",
      "title": "Canadian federal riding hexagons (used for hexagonal tile plots)",
      "object": "federal_riding_hexagons",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "group",
        "y",
        "x",
        "pr_alpha",
        "representation_order",
        "pr_english",
        "pr_french",
        "pr_sgc_code",
        "riding_code",
        "value"
      ],
      "rows": 6629,
      "table": true,
      "tojson": true
    },
    {
      "name": "federal_ridings",
      "title": "Federal ridings",
      "object": "federal_ridings",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "riding_code",
        "group",
        "riding_name_english",
        "riding_name_french",
        "pr_sgc_code",
        "pr_english",
        "pr_french",
        "pr_alpha",
        "centroid_long",
        "centroid_lat"
      ],
      "rows": 25248,
      "table": true,
      "tojson": true
    },
    {
      "name": "province_pop_annual",
      "title": "Annual provincial populations data frame dating back to 1971",
      "object": "province_pop_annual",
      "class": [
        "data.frame"
      ],
      "fields": [
        "year",
        "province",
        "population"
      ],
      "rows": 638,
      "table": true,
      "tojson": true
    },
    {
      "name": "provinces_noterr_carto",
      "title": "Provinces and territories cartogram data (territories excluded)",
      "object": "provinces_noterr_carto",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "pr_english",
        "group",
        "population",
        "pr_alpha",
        "pr_french",
        "pr_sgc_code"
      ],
      "rows": 8209,
      "table": true,
      "tojson": true
    },
    {
      "name": "provinces_territories",
      "title": "Provinces and territories standard geographic data",
      "object": "provinces_territories",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "pr_sgc_code",
        "group",
        "pr_english",
        "pr_french",
        "pr_alpha"
      ],
      "rows": 11430,
      "table": true,
      "tojson": true
    },
    {
      "name": "provinces_territories_carto",
      "title": "Provinces and territories cartogram data (territories included)",
      "object": "provinces_territories_carto",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "pr_english",
        "group",
        "population",
        "pr_alpha",
        "pr_french",
        "pr_sgc_code"
      ],
      "rows": 18184,
      "table": true,
      "tojson": true
    },
    {
      "name": "quebec_prov_ridings2018",
      "title": "Quebec provincial ridings geographic data",
      "object": "quebec_prov_ridings2018",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "riding_code",
        "group",
        "riding_name",
        "RIDING_NAME",
        "centroid_long",
        "centroid_lat"
      ],
      "rows": 5672,
      "table": true,
      "tojson": true
    },
    {
      "name": "quebec_provincial_results",
      "title": "Quebec provincial election results data",
      "object": "quebec_provincial_results",
      "class": [
        "data.frame"
      ],
      "fields": [
        "party",
        "vote_share",
        "candidate",
        "riding_code",
        "riding_name",
        "region"
      ],
      "rows": 125,
      "table": true,
      "tojson": true
    },
    {
      "name": "quebec_riding_bins",
      "title": "Quebec provincial riding bins (used for tile plots)",
      "object": "quebec_riding_bins",
      "class": [
        "data.frame"
      ],
      "fields": [
        "y",
        "x",
        "riding_code",
        "region",
        "riding_simplified",
        "riding_name"
      ],
      "rows": 125,
      "table": true,
      "tojson": true
    },
    {
      "name": "quebec_riding_hexagons",
      "title": "Quebec provincial riding hexagons (used for hexagonal tile plots)",
      "object": "quebec_riding_hexagons",
      "class": [
        "data.frame"
      ],
      "fields": [
        "long",
        "lat",
        "order",
        "hole",
        "piece",
        "group",
        "y",
        "x",
        "region",
        "riding_simplified",
        "riding_name",
        "riding_code",
        "value"
      ],
      "rows": 875,
      "table": true,
      "tojson": true
    },
    {
      "name": "riding_info",
      "title": "Canadian federal riding population information",
      "object": "riding_info",
      "class": [
        "data.frame"
      ],
      "fields": [
        "party",
        "riding_code",
        "population_2011",
        "population_2016"
      ],
      "rows": 338,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "census_divisions_2016",
      "title": "Census divisions (2016)",
      "topics": [
        "census_divisions_2016"
      ]
    },
    {
      "page": "census_divisions_2016_carto",
      "title": "Census divisions cartogram data frame (territories included) (2016)",
      "topics": [
        "census_divisions_2016_carto"
      ]
    },
    {
      "page": "census_divisions_2016_noterr_carto",
      "title": "Census divisions cartogram data frame (territories excluded) (2016)",
      "topics": [
        "census_divisions_2016_noterr_carto"
      ]
    },
    {
      "page": "census_pop2016",
      "title": "Census division population data for 2011 and 2016",
      "topics": [
        "census_pop2016"
      ]
    },
    {
      "page": "federal_election_results",
      "title": "Canadian federal election results data",
      "topics": [
        "federal_election_results"
      ]
    },
    {
      "page": "federal_riding_bins",
      "title": "Canadian federal riding bins (used for tile plots)",
      "topics": [
        "federal_riding_bins"
      ]
    },
    {
      "page": "federal_riding_hexagons",
      "title": "Canadian federal riding hexagons (used for hexagonal tile plots)",
      "topics": [
        "federal_riding_hexagons"
      ]
    },
    {
      "page": "federal_ridings",
      "title": "Federal ridings",
      "topics": [
        "federal_ridings"
      ]
    },
    {
      "page": "mapcan",
      "title": "Canadian maps function",
      "topics": [
        "mapcan"
      ]
    },
    {
      "page": "province_pop_annual",
      "title": "Annual provincial populations data frame dating back to 1971",
      "topics": [
        "province_pop_annual"
      ]
    },
    {
      "page": "provinces_noterr_carto",
      "title": "Provinces and territories cartogram data (territories excluded)",
      "topics": [
        "provinces_noterr_carto"
      ]
    },
    {
      "page": "provinces_territories",
      "title": "Provinces and territories standard geographic data",
      "topics": [
        "provinces_territories"
      ]
    },
    {
      "page": "provinces_territories_carto",
      "title": "Provinces and territories cartogram data (territories included)",
      "topics": [
        "provinces_territories_carto"
      ]
    },
    {
      "page": "quebec_prov_ridings2018",
      "title": "Quebec provincial ridings geographic data",
      "topics": [
        "quebec_prov_ridings2018"
      ]
    },
    {
      "page": "quebec_provincial_results",
      "title": "Quebec provincial election results data",
      "topics": [
        "quebec_provincial_results"
      ]
    },
    {
      "page": "quebec_riding_bins",
      "title": "Quebec provincial riding bins (used for tile plots)",
      "topics": [
        "quebec_riding_bins"
      ]
    },
    {
      "page": "quebec_riding_hexagons",
      "title": "Quebec provincial riding hexagons (used for hexagonal tile plots)",
      "topics": [
        "quebec_riding_hexagons"
      ]
    },
    {
      "page": "riding_binplot",
      "title": "Canadian federal ridings tile plot function",
      "topics": [
        "riding_binplot"
      ]
    },
    {
      "page": "riding_info",
      "title": "Canadian federal riding population information",
      "topics": [
        "riding_info"
      ]
    },
    {
      "page": "theme_mapcan",
      "title": "Mapcan theme",
      "topics": [
        "theme_mapcan"
      ]
    }
  ],
  "_readme": "https://github.com/mccormackandrew/mapcan/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "choropleth_maps_vignette.Rmd",
      "filename": "choropleth_maps_vignette.html",
      "title": "Using mapcan to create choropleth maps",
      "author": "Andrew McCormack",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Description",
        "Overview",
        "Arguments",
        "Examples",
        "Creating a choropleth map with provincial boundaries",
        "Basic ingredients for ggplot",
        "Using geom_polygon to plot the coordinates",
        "Incorporate province-level statistics",
        "Creating a choropleth map with federal riding boundaries",
        "Generate geographic data with riding boundaries",
        "Plot geographic data with riding boundaries",
        "Incorporate riding-level statistics"
      ],
      "created": "2018-10-16 02:11:18",
      "modified": "2019-01-03 00:13:07",
      "commits": 2
    },
    {
      "source": "riding_binplot_vignette.Rmd",
      "filename": "riding_binplot_vignette.html",
      "title": "Using riding_binplot to create tile grid maps",
      "author": "Andrew McCormack",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Description",
        "Overview",
        "Using riding_binplot()",
        "Categorical variables",
        "Preparing the data",
        "Plotting the data",
        "Continuous variables",
        "Provincial ridings",
        "Reference"
      ],
      "created": "2018-10-07 18:05:01",
      "modified": "2019-04-08 02:19:05",
      "commits": 11
    }
  ],
  "_score": 5.225309281725863,
  "_indexed": true,
  "_nocasepkg": "mapcan",
  "_universes": [
    "mccormackandrew"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-23T08:05:14.000Z",
      "distro": "noble",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "800dfe41a846c2980d687ca96ba3fa043f2661c486aa88f47aadd4790d17321d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-06-23T08:05:11.000Z",
      "distro": "noble",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "2b73c95c41392e6d0122fc6753f3dad014a334e90c18225695f5cb83222ffd30",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-23T08:05:16.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "c8351583d6eef51702ef351ace1d6722cd2fa478f12186bf3938c8725ce46d70",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-06-23T08:05:12.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "a2667803e4e9e92f101e48656a5fe8c0c715ae90950341cc29afbab73ffeab4f",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-06-23T08:05:17.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "a2058c60e3ecab87ff25ab5da12bb0076ddb8a2df8ee0a8b650b97578f889160",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T08:04:52.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "430c92f1ce32e9399bea77e9ed2be6a1d5238629b720976d913739df7ae968ed",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T08:04:27.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "6c5fa12bcca314cca662cc2283de787e5b9dd519d02611a4b38d5a533bde0056",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-06-23T08:04:32.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "1d1bcac90def395fbbfa462930d882c4f560c7f37ef58fa1e6f3af0d8faa82cb",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/28011406000"
    }
  ]
}