Learn R Programming

uscoauditlog (version 1.0.3)

clean_str: Helper Function

Description

Cleans instances of variable AUDIT_LOG from the U.S. Copyright Office SR Audit Data spreadsheet

Usage

clean_str(str)

Arguments

str

Input an instance value from variable AUDIT_LOG

Value

Returns a cleaned string version of an instance from variable AUDIT_LOG.

Examples

Run this code
# NOT RUN {
str = "2*J15*Owner2*L12*LAAS2*K10*2*C110*SR_STAT_ID2*N14*Open2*O16*Closed"
clean_str(str)
# }

Run the code above in your browser using DataLab