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

slice: how to query on multiple values ? #20

Closed
prabuvenkat opened this issue Oct 13, 2019 · 1 comment
Closed

slice: how to query on multiple values ? #20

prabuvenkat opened this issue Oct 13, 2019 · 1 comment

Comments

@prabuvenkat
Copy link

For example --

JSONstat( this ).Slice(
    { "year": ["2010", "2011", "2012"] }
)

Or, is there any other way to achieve this ?

@badosa
Copy link
Owner

badosa commented Oct 13, 2019

Selecting several categories of a dimension is not supported by Slice() (technically, it wouldn't be a slice).

But you probably could get the same results using toTable() with a callback.

@badosa badosa closed this as completed Oct 13, 2019
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

No branches or pull requests

2 participants