{
  "_id": "6a12b2b1acfb0bcc41d19b3c",
  "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-05-24 08:08:42 UTC",
    "User": "root"
  },
  "Author": "Andrew McCormack [aut, cre],\nAaron Erlich [aut]",
  "MD5sum": "c5ec10693a23bbc23ce8a0d84e28e807",
  "_user": "mccormackandrew",
  "_type": "src",
  "_file": "mapcan_0.0.1.tar.gz",
  "_fileid": "c9fac82bf846ccb69e2c3e8758d20acf5ef2c8cce66f10795d5cb4ac15f42274",
  "_filesize": 4614053,
  "_sha256": "c9fac82bf846ccb69e2c3e8758d20acf5ef2c8cce66f10795d5cb4ac15f42274",
  "_created": "2026-05-24T08:08:42.000Z",
  "_published": "2026-05-24T08:11:29.037Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77582631900,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7183541416"
    },
    {
      "job": 77582631931,
      "time": 96,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183539159"
    },
    {
      "job": 77582631933,
      "time": 130,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7183540821"
    },
    {
      "job": 77582631923,
      "time": 133,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183540086"
    },
    {
      "job": 77582480853,
      "time": 175,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183528687"
    },
    {
      "job": 77582631910,
      "time": 97,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7183539259"
    },
    {
      "job": 77582631922,
      "time": 107,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "NOTE",
      "artifact": "7183540672"
    },
    {
      "job": 77582631906,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "NOTE",
      "artifact": "7183537842"
    },
    {
      "job": 77582631914,
      "time": 74,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "NOTE",
      "artifact": "7183536725"
    }
  ],
  "_buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666",
  "_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"
  },
  "_downloads": {
    "count": 213,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mapcan"
  },
  "_devurl": "https://github.com/mccormackandrew/mapcan",
  "_searchresults": 21,
  "_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",
    "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.1673173347481764,
  "_indexed": true,
  "_nocasepkg": "mapcan",
  "_universes": [
    "mccormackandrew"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:33.000Z",
      "distro": "noble",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "902b40c70fc1fba632395c2ac7f76c400ffaa2e6e80046b0d1126a134136551d",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:19.000Z",
      "distro": "noble",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "8d4b612dc830684e07e7904b5d8ccb2ab495ae642a5cf05bdf210d0e8a43e307",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:40.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "9452b21433f17fed516626c9c80bf324ce568a0de8c668762ff9e392a0ca91d4",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:29.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "f6f17392042ddabd7e44a63e714773274413381be1146c8ccaae8f2098bc343c",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:34.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "f94a985a3bfe913af51d4cfcfda62143fe388845aef9efc2bf0272ace6b6ddf4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-24T08:10:12.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "425a3699bc51637b9d928deb7726f0cdc3586496ef6937f924d63d4f2f9a3238",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-24T08:09:54.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "1e9161095dfef774a5988968730f3a3bd9c8f8ba91a0c59ee936ab1b8857daa7",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.0.1",
      "date": "2026-05-24T08:09:44.000Z",
      "commit": "c4dafefa04c6321af479a474ca2a6cafa041aa9f",
      "fileid": "bb7ecdb65c941b1af6a188325195b74754ec41e802fbd25aaa511bb37a5afc0a",
      "status": "success",
      "check": "NOTE",
      "buildurl": "https://github.com/r-universe/mccormackandrew/actions/runs/26355906666"
    }
  ]
}