Skip to contents

Prints counts of observations, species, validation statuses and the date range. Sex and life stage are counted as individuals (sum(number)), expanding mixed-count rows via obs_expand(). Works on an obs_df or on a path (which is passed to obs_read()).

Usage

obs_summary(x, ...)

Arguments

x

An obs_df, or the path to an export.

...

Unused.

Value

The summary list, invisibly.

Examples

obs <- obs_read(obs_example_db())
obs_summary(obs)
#> 
#> ── Observation summary ─────────────────────────────────────────────────────────
#> Observations: 1455
#> Validated (A/J/P): 963 (66.2%)
#> Species: 3
#> Date range: 2020-01-01 to 2021-01-01
#> Multiple observations: 13
#> 
#> ── Validation ──
#> 
#>                       validation   n
#>  accepted (automatic validation) 947
#>                          unknown 491
#>         accepted (with evidence)  15
#>             accepted (plausible)   1
#>        cannot be validated (yet)   1
#> ── Sex (individuals) ──
#> 
#>          sex     n
#>  Unspecified 20287
#>         Male   136
#>       Female    67
#> ── Life stage (individuals) ──
#> 
#>      life_stage     n
#>         unknown 19876
#>           adult   495
#>   second summer    97
#>  adult breeding    18
#>        juvenile     3
#>         deviant     1
#> ── Species groups ──
#> 
#>  species_group    n
#>          Birds 1455