find_work: Find Work

Description Usage Arguments Value Examples

View source: R/get_papers_info.R

Description

Find Work details

Usage

1
2
3
4
5
find_work(
  id_type = c("openalex", "doi", "mag", "pmid", "pmcid"),
  id,
  variable_unnest = NULL
)

Arguments

id_type

the type of id you are using to locate the author: must be either orcid or openalex

id

the id(s) for the work that matches the type selected initially

variable_unnest

the column(s) you want to unnest by to make the dataframe longer - options are authors, concepts, referenced_works, related_works, and citation_counts_year

Value

tibble of paper info

Examples

1
find_work(id_type = "doi", id = "https://doi.org/10.7717/peerj.4375")

ekmaloney/openalexR documentation built on Feb. 4, 2022, 11:39 p.m.