Skip to contents

Summarise funding sources from corpus metadata.

Usage

sm_field_funder(
  corpus,
  source = c("crossref", "openalex"),
  call = rlang::caller_env()
)

Arguments

corpus

An sm_corpus.

source

Data source for funding info.

call

Caller environment.

Value

A tibble of funders with counts.

See also

Examples

corpus <- sm_example_corpus()
sm_field_funder(corpus)
#>  Funding data requires enrichment. Use `sm_enrich_concepts()` or fetch from
#>   crossref.
#> # A tibble: 0 × 4
#> # ℹ 4 variables: funder <chr>, doi_prefix <chr>, country <chr>, n_works <int>