normalize_collections {easyScieloPack} | R Documentation |
Normalize SciELO collection names or ISO codes
Description
Converts country names or ISO codes into valid SciELO collection codes. Only one value is allowed.
Usage
normalize_collections(collections)
Arguments
collections |
A character vector of length 1: a country name (e.g., "Costa Rica") or a valid SciELO ISO code (e.g., "cri"). |
Value
A character string representing the normalized SciELO collection code.
Examples
normalize_collections("Costa Rica") # returns "cri"
normalize_collections("cri") # returns "cri"
[Package easyScieloPack version 0.1.0 Index]