Skip to contents

Find Work details

Usage

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

find_work(id_type = "doi", id = "https://doi.org/10.7717/peerj.4375")
#> # A tibble: 1 × 18
#>   id        title publication_date openalexid doi   pmid     mag host_venue_info
#>   <chr>     <chr> <chr>            <chr>      <chr> <chr>  <dbl> <list>         
#> 1 https://… The … 2018-02-13       https://o… http… http… 2.74e9 <tibble>       
#> # … with 10 more variables: works_type <chr>, open_access <lgl>,
#> #   open_access_status <chr>, open_access_url <chr>, authors <list>,
#> #   citation_count <int>, concepts <list>, referenced_works <list>,
#> #   related_works <list>, citation_counts_year <list>