Skip to contents

Searches the OpenAlex Funders endpoint and returns a table of matching entities. Use the id column from the result to pin a specific funder in pc_search_openalex() via the funder_id argument, avoiding ambiguous name matching.

Usage

pc_find_funder(query, email = NULL, max_results = 25L)

Arguments

query

Character. Name or partial name of the funder to search for.

email

Character. Email for the OpenAlex polite pool. Falls back to the value set with pc_configure(), then the PUBCLASSIFY_EMAIL environment variable.

max_results

Integer. Maximum number of funder records to return. Default 25.

Value

A tibble::tibble() with columns:

id

OpenAlex funder entity ID. Pass this to pc_search_openalex() as funder_id to pin a specific funder.

display_name

Full funder name as recorded in OpenAlex.

country_code

ISO 3166-1 alpha-2 country code.

works_count

Number of works in OpenAlex attributed to this funder.

description

Brief description of the funder, if available.

Examples

if (FALSE) { # \dontrun{
# Inspect matches before searching, then pin the right one
pc_find_funder("Department of Water Resources")

pc_search_openalex(
  query     = "Department of Water Resources",
  field     = "funder",
  funder_id = "https://openalex.org/F4320332161"
)
} # }