remove_preposicao_nomes: Remove de da e dos of names .

Description Usage Arguments Value Examples

View source: R/text_functions.R

Description

remove_preposicao_nomes return names without de, da e dos.

Usage

1
remove_preposicao_nomes(base, ..., suffixo = "_semD")

Arguments

base

A data table, data frame or character vector.

...

columns for apply the function

suffixo

Suffix name for the new column.

Value

the base parameter with a new column.

Examples

1
2
   base <- data.frame(nome = c("Jo<c3><a3>o das Neves", "Pedro dos Anjos", "Maria das Gracas"))
   base <- remove_preposicao_nomes(base, "nome")

ipea/utilsIPEA documentation built on May 18, 2019, 10:14 a.m.