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ão das Neves", "Pedro dos Anjos", "Maria das Gracas"))
   base <- remove_preposicao_nomes(base, "nome")

utilsIPEA documentation built on April 21, 2018, 1:04 a.m.