Skip to contents

Computes aggregate summary statistics for publication sources in the corpus.

Usage

sm_summary_sources(corpus, call = rlang::caller_env())

Arguments

corpus

An sm_corpus object.

call

Caller environment for error reporting.

Value

A tibble with one row containing: n_sources, n_oa_sources, pct_oa_sources, n_publishers, top_source (source with most works), top_source_n.

Examples

corpus <- sm_example_corpus()
sm_summary_sources(corpus)
#> # A tibble: 1 × 6
#>   n_sources n_oa_sources pct_oa_sources n_publishers top_source top_source_n
#>       <int>        <int>          <dbl>        <int> <chr>             <int>
#> 1        10            6             60            5 PLoS ONE             29