This document tests the appears of the maps created by the project.

library(tidyverse)
library(mappingelections)

Palette mappings

mappingelections:::pal_mapping

Federalists vs Antifederalists vs Other

"meae.congressional.congress01.ny.county" %>% 
  get_county_map_data() %>% 
  map_counties()

Potomac vs Chesapeake vs Other

"meae.congressional.congress02.md.county" %>% 
  get_county_map_data() %>% 
  map_counties()

Federalists vs Republicans

"meae.congressional.congress06.ri.county" %>% 
  get_county_map_data() %>% 
  map_counties()

Federalists vs Republican vs Republican Faction vs Other

"meae.congressional.congress10.pa.county" %>% 
  get_county_map_data() %>% 
  map_counties()

Adams/Clay vs Jacksonian

"meae.congressional.congress18.la.county" %>% 
  get_county_map_data() %>% 
  filter(!is.na(state_abbr),
         cross_ref != "New to dataset") %>%
  arrange(!is.na(federalist_percentage), !is.na(demrep_percentage), 
          cnty_type == "Parish") %>% 
  map_counties()

Federalist, DemRep + RepFac, Adams/Clay + Jacksonian, Other

"meae.congressional.congress18.nc.county" %>% 
  get_county_map_data() %>% 
  map_counties()
"meae.congressional.congress18.oh.county" %>% 
  get_county_map_data() %>% 
  map_counties()


mapping-elections/mappingelections documentation built on July 24, 2019, 9:42 a.m.