extract_parts {abjutils} | R Documentation |
Given one or more lawsuit IDs, this function extracts one or more parts of the IDs given the following correspondence:
"N": number
"D": verification digits
"A": year
"J": segment
"T": court
"O": origin
"": all of the above
extract_parts(id, parts = "")
id |
One or more lawsuit IDs |
parts |
String or string vector with desired parts (see description) |
## Not run:
extract_parts("001040620018260004", "N")
extract_parts("001040620018260004", c("N", "A", "O"))
## End(Not run)