From 2fdbe4fe56ab8c1af1fcf1c5c688ff3ebf2f8f29 Mon Sep 17 00:00:00 2001
From: elmeraa <eazadpour@usgs.gov>
Date: Mon, 17 Jun 2024 10:46:22 -0700
Subject: [PATCH] add cb = TRUE to download a generalized counties files

---
 2_process.R | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/2_process.R b/2_process.R
index 6262a31..83aa138 100644
--- a/2_process.R
+++ b/2_process.R
@@ -183,7 +183,7 @@ tar_target(p2_census_acs5profile_household_data,
              mutate(state_name = sub(".*, ", "", NAME)) |> 
              filter(state_name %in% p1_census_states)),
 tar_target(p2_counties_sf,
-           tigris::counties() |> 
+           tigris::counties(cb = TRUE) |> 
              st_transform(crs = p1_proj) |> 
              ms_simplify(keep = 0.2)),
 # Join counties spatial to households dataframe
-- 
GitLab