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

Rework action_age so age re-ordering is possible #151

Merged
merged 4 commits into from
May 7, 2024

Conversation

lentinj
Copy link
Collaborator

@lentinj lentinj commented May 7, 2024

Add extra options to stock_ss() so we can ditch action_age()s custom logic, allowing the age/area dimension to be reordered.

substitute "default" / "missing" into subset expressions, so you can
specify "default + 1" as well as "default".

Add "vec" parameter so you can subset all dimensions up to a given one,
as well as all/nothing.
stock_ss() now has enough flexibility to replace action_age's custom
shenanigans, so rewrite with stock_ss()

Use "vec = age", rather than "vec = all", so we no longer have to have
age dimensions at the start.
Without an age dimension, the stock_ss() calls will fail, but it's not
a sensible thing to do in the first place.

Fail with an informative error message.
@lentinj lentinj merged commit eb029be into master May 7, 2024
6 checks passed
@lentinj lentinj deleted the issue-134-age-dimension-reordering branch May 7, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant