Skip to content

Modify slimr_output() and slim_extract() system to use S3 #47

@rdinnager

Description

@rdinnager

The idea here is to add a class argument to slimr_output. Any output produced by the call will be given the class. A user (or a developer) can then create a slim_extract() method for that output, which would convert it into a usable form in R. Then slim_results_to_data() can just call slim_extract() on all elements of the output column in the results, which would make things a lot cleaner, and make it easier to make custom output formats.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions