Skip to content

Instantly share code, notes, and snippets.

@arthurgailes
arthurgailes / furrr_maps.R
Last active April 10, 2023 01:51 — forked from walkerke/purrr_maps.R
comparing purrr to furrr
if(!require(pacman)) install.packages('pacman')
pacman::p_load(tigris, tidycensus, furrr, doFuture, 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()