extract_parts: Extract different parts from lawsuit ID

Description Usage Arguments Examples

View source: R/cnj.R

Description

Given one or more lawsuit IDs, this function extracts one or more parts of the IDs given the following correspondence:

Usage

1
extract_parts(id, parts = "")

Arguments

id

One or more lawsuit IDs

parts

String or string vector with desired parts (see description)

Examples

1
2
3
4
5
## Not run: 
extract_parts("001040620018260004", "N")
extract_parts("001040620018260004", c("N", "A", "O"))

## End(Not run)

abjutils documentation built on Feb. 1, 2022, 9:10 a.m.