regs: Get regions ids

Description Usage Arguments Examples

Description

Function to get regions' ids given their names (or the beginnings of their names)

Usage

1
regs(regions = NULL, fixed = TRUE, ignore.case = TRUE)

Arguments

regions

Character vector of regions names or the beginnings of their names. If not specified, the function returns named vector with all regions' ids.

fixed

Logical. If TRUE, pattern is a string to be matched as is. If FALSE, regular expression is used.

ignore.case

if FALSE, the pattern matching is case sensitive and if TRUE, case is ignored during matching.

Examples

1

texty/edata documentation built on May 20, 2019, 5:58 p.m.