Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

trim_address

Trim and Format Address Information


Description

Set of rules for trimming and standardizing the format of address information retrieved from PubMed records. Affiliations including more than one address will be trimmend and only the first address will be returned.

Usage

trim_address(addr)

Arguments

addr

Character string including an address as extracted from PubMed records.

Value

Character string including a formatted and trimmed address (if available).

Author(s)

Damiano Fantini damiano.fantini@gmail.com

References

Examples

addr_string <- " 2 Dept of Urology, Feinberg School of Medicine," 
addr_string <- paste(addr_string, "Chicago, US; Dept of Mol Bio as well...")
print(addr_string)
print(trim_address(addr = addr_string))

easyPubMed

Search and Retrieve Scientific Publication Records from PubMed

v2.13
GPL-2
Authors
Damiano Fantini
Initial release
2019-03-25

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.