getDvRut: Calculates DV from RUT

Description Usage Arguments Examples

View source: R/getDvRut.R

Description

Calculates DV from RUT

Usage

1
getDvRut(rut, append_dv = F)

Arguments

rut

vector of ruts on multiple format format (specified in examples)

append_dv

should the calculated DV be apended to the rut or just return the DV

Examples

1
2
3
4
5
6
ruts_sin_dv = c("15829332","16876895","17994104")
getDvRut(ruts_sin_dv)
getDvRut(ruts_sin_dv,append_dv = T)

ruts = "30.686.957-X"
getDvRut(ruts_sin_dv)

danielfm123/dftools documentation built on July 17, 2021, 1 p.m.