# \donttest{
# Use Texas which has more data
texas_results <- run_state_analysis(
state = "TX",
scale = "county", # Use county for faster processing
year = 2016,
nutrients = "nitrogen", # Single nutrient for speed
include_wwtp = TRUE
)
# California county-level analysis
ca_results <- run_state_analysis(
state = "CA",
scale = "county",
year = 2010,
nutrients = "nitrogen"
)
# }
Run the code above in your browser using DataLab