Learn R Programming

abjutils (version 0.2.3)

separate_cnj: 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()