Skip to contents

Prints the list returned by summary.cacs_run_result(). It starts with a header giving the time the result was created, the routing service and profile, and the numbers of sites, as in print.cacs_run_result(). It then shows the numbers of rows, sites, variables, and drive times, the five-number summary n_tracts_summary from stats::fivenum() (its hinges are labeled q1 and q3), the rate tables chosen by the breakdown argument of summary(), and moe_fallback_rate as a percentage. The table for each site shows the estimates only (the element rates_per_site).

Usage

# S3 method for class 'cacs_run_summary'
print(x, ...)

Arguments

x

A cacs_run_summary list, as returned by summary.cacs_run_result().

...

Not used.

Value

x, invisibly.

Details

The tables are ordinary printed output, and every other line is a message, as with print.cacs_run_result().

Examples

out <- readRDS(system.file("extdata", "visual_walkthrough_fixture.rds",
                           package = "catchmentACS"))$run_result

# With breakdown = "per_site", the only rate table is the one for each site
print(summary(out, breakdown = "per_site"))
#> 
#> ── catchmentACS run summary ────────────────────────────────────────────────────
#> Generated at: 2026-05-29 17:15:15
#> Provider: osrm / car
#> Sites: 1 success / 0 failed / 1 total
#> 
#> ── Run tallies ──
#> 
#> Rows: 19
#> Sites: 1
#> Variables: 19
#> Drive-time bands: 1
#> 
#> ── n_tracts five-number summary ──
#> 
#> min=36, q1=36, median=36, q3=36, max=36
#> 
#> ── Rates per site ──
#> 
#> # A tibble: 1 × 7
#>   site_id   drive_time_min poverty_rate snap_rate ssi_rate unemp_rate
#>   <chr>              <int>        <dbl>     <dbl>    <dbl>      <dbl>
#> 1 AL_BHM_01             10        0.193     0.112   0.0504     0.0424
#> # ℹ 1 more variable: labor_force_participation <dbl>
#> ── MOE fallback rate ──
#> 
#> 0% of rows fell back