tests/testthat/_problems/test-lehdr-554.R

# Extracted from test-lehdr.R:554

# setup ------------------------------------------------------------------------
library(testthat)
test_env <- simulate_test_env(package = "lehdr", path = "..")
attach(test_env, warn.conflicts = FALSE)

# test -------------------------------------------------------------------------
withr::local_options(list(lehdr_use_cache = TRUE))
result <- grab_lodes(
    state      = "vt",
    year       = 2008,
    version    = "LODES5",
    lodes_type = "rac",
    job_type   = "JT01",
    segment    = "SA01",
    state_part = "main",
    agg_geo    = "block",
    geometry   = TRUE
  )

Try the lehdr package in your browser

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

lehdr documentation built on Nov. 2, 2026, 1:06 a.m.