Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scenario should inherit from data.table or data.frame #23

Open
pratikunterwegs opened this issue Feb 24, 2023 · 0 comments
Open

Scenario should inherit from data.table or data.frame #23

pratikunterwegs opened this issue Feb 24, 2023 · 0 comments
Assignees
Labels
discussion For package design discussions enhancement New feature or request

Comments

@pratikunterwegs
Copy link
Collaborator

This issue is to suggest that scenario objects should inherit from data.table or data.frame. This would have benefits, including:

  1. Allow the use of methods for data.frames and data.tables, allowing users to easily build on top of scenarios, or to join and manipulate scenarios in ways that they are already accustomed to doing in their workflows with tabular data;
  2. Put the data aspect of the scenario front and centre so that users know that scenario objects are essentially model outputs (in the form of data.frames), with some attached parameters.
    Other benefits could be added to comments on this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion For package design discussions enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant