detecting_country_state: Find country on affiliation field based on name of state

View source: R/country_university_state.R

detecting_country_stateR Documentation

Find country on affiliation field based on name of state

Description

Find country name on free text affiliation field based on state name

Usage

detecting_country_state(x)

Arguments

x

free-text (affiliation field)

Details

This function was designed to internal use in the package. The aim is to find the country name by matching with a name of state.

Value

This function returns a character string with the name of the country

Author(s)

Hugo Fitipaldi

Examples

detecting_country_state("Lund University Diabetes Centre, Malmö, Skåne, Sweden")


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