Closed eribul closed 4 years ago
I think it should be possible. if we just take data.table::unique(data, ...)
excluding the code
, code_date
and in_period
columns as substitute for data
.
Thus:
codified
categorize
become generic S3.data.frame
, data.table
, codified
and classified
Fixed in: 9c52b7f
Review: This is a good point, wherefore categorize
has now been made S3-generic with a dedicated method for objects of class codified
(a new class used for the output from codify()
)
I expected categorize to be able to take the results of a call to codify as input. This could be a useful alternative specification option, and is being done internally anyhow