tests/testthat/_snaps/tiger_counties_sf.md

tiger_counties_sf() Ohio

Code
  ohio_fips <- usmap::fips(state = "ohio")
  express <- parse(text = paste0("STATEFP == ", "\"", ohio_fips, "\""))
  output_dir <- withr::local_tempdir()
  if (!dir.exists(output_dir)) {
    dir.create(output_dir)
  }
  ohio_counties_sf <- RcensusPkg::tiger_counties_sf(output_dir = output_dir,
    general = TRUE, express = express, do_progress = FALSE, delete_files = TRUE)
  a_plot <- RplotterPkg::create_sf_plot(sf = ohio_counties_sf)


Try the RcensusPkg package in your browser

Any scripts or data that you put into this service are public.

RcensusPkg documentation built on April 11, 2025, 6:16 p.m.