Skip to content

Instantly share code, notes, and snippets.

@arthurgailes
arthurgailes / furrr_maps.R
Last active May 14, 2024 16:20 — forked from walkerke/purrr_maps.R
comparing purrr to furrr
if(!require(pacman)) install.packages('pacman')
pacman::p_load(tigris, tidycensus, furrr, purrr, tictoc, ggplot2)
options(tigris_use_cache = FALSE) # make things equal between runs
state_names <- c(state.name, "District of Columbia")
names(state_names) <- state_names
# purrr:
tictoc::tic()