Learn R Programming

easyScieloPack (version 0.1.1)

normalize_collections: 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)

Value

A character string representing the normalized SciELO collection code.

Arguments

collections

A character vector of length 1: a country name (e.g., "Costa Rica") or a valid SciELO ISO code (e.g., "cri").

Examples

Run this code
normalize_collections("Costa Rica")  # returns "cri"
normalize_collections("cri")         # returns "cri"

Run the code above in your browser using DataLab