Skip to contents

Get Coauthors

Usage

get_coauthors(id_type = c("orcid", "openalex", "scopus", "mag"), id)

Arguments

id_type

the type of id for the ego author you are using, should be one of: orcid, openalex, scopus, or mag

id

the id matching the author you want to retrieve the coauthors for

Value

a tibble with 5 columns: paper_id, ego_author_id, ego_author_name, alter_author_id, and alter_author_name

Examples

get_coauthors(id_type = "openalex", id = "A2941293769")
#> Joining, by = "ego_author"
#> # A tibble: 8 × 5
#>   paper_id              ego_author alter_author alter_author_na… ego_author_name
#>   <chr>                 <chr>      <chr>        <chr>            <chr>          
#> 1 https://openalex.org… A29412937… A2557604234  Christopher A. … Emily Maloney  
#> 2 https://openalex.org… A29412937… A2296125463  Brian Guay       Emily Maloney  
#> 3 https://openalex.org… A29412937… A2989707772  Aidan Combs      Emily Maloney  
#> 4 https://openalex.org… A29412937… A2254831310  D. Sunshine Hil… Emily Maloney  
#> 5 https://openalex.org… A29412937… A2807433028  Friedolin Merho… Emily Maloney  
#> 6 https://openalex.org… A29412937… A2079431213  Deen Freelon     Emily Maloney  
#> 7 https://openalex.org… A29412937… A1611495263  Alexander Volfo… Emily Maloney  
#> 8 https://openalex.org… A29412937… A1069028179  William Carbona… Emily Maloney