get_affiliations: Retrieve and recognize affiliation and country of affiliation...

View source: R/get_affiliations.R

get_affiliationsR Documentation

Retrieve and recognize affiliation and country of affiliation from PubMed

Description

Identifies country based on affiliation free-text field

Usage

get_affiliations(PMID, email = NULL, format.long = FALSE)

Arguments

PMID

PubMed IDentifier of the publication you wish to query

email

your email to access the OpenStreetMap API (if you wish to use this API on your query)

format.long

re-format your resulting data.frame to a long format

Details

This function was designed retrieve and pre-process the affiliation field of PubMed publications and to recognize the specific country of affiliation.

Value

This function returns a data.frame with the list of authors of a queried scientific publication and detected country of affiliations

Author(s)

Hugo Fitipaldi

Examples

get_affiliations(PMID = '30237159')
get_affiliations(PMID = '30237159', format.long = TRUE)


hugofitipaldi/affiliation documentation built on May 12, 2024, 9:30 a.m.