naaccr_record objects, if a method exists.Coerce to a naaccr_record dataset
Convert objects into naaccr_record objects, if a method exists.
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)# S3 method for list
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)
# S3 method for data.frame
as.naaccr_record(x, keep_unknown = FALSE, version = NULL, format = NULL, ...)
An object of class naaccr_record
An R object.
Logical indicating whether values of "unknown" should be
a level in the factor or NA.
An integer specifying the NAACCR format version for parsing
the records. Use this or format, not both. If both version
and format are NULL (default), the most recent NAACCR format
will be used.
A record_format object for parsing the records.
Additional arguments passed to or from methods.
naaccr_record