separate_cnj: Separate a lawsuit ID column into its parts

View source: R/cnj.R

separate_cnjR Documentation

Separate a lawsuit ID column into its parts

Description

Wrapper around tidyr::separate() that splits a column with lawsuit IDs into 6 columns with its parts (see extract_parts()). Note that the IDs must be built (see build_id()).

Usage

separate_cnj(data, col, ...)

Arguments

data

A data frame

col

Column name or position (see tidyr::separate())

...

Other arguments passed on to tidyr::separate()


abjur/abjutils documentation built on Feb. 1, 2024, 2:49 p.m.