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

multiple datasets #16

Closed
dustinfarris opened this issue Sep 15, 2021 · 1 comment · Fixed by #17
Closed

multiple datasets #16

dustinfarris opened this issue Sep 15, 2021 · 1 comment · Fixed by #17

Comments

@dustinfarris
Copy link

I have a use case where I need to provide multiple datasets to a Vega spec.

It would be nice to support this:
https://vega.github.io/vega-lite/docs/data.html#datasets

Basically I'm looking for an API along the lines of:

Vl.new()
|> Vl.datasets_from_values([
  main: my_main_data,
  other: my_other_data,
])
|> Vl.data_from_name(:main)
...
# Example usage (already possible)
|> Vl.transform(:lookup, :some_key, from: [data: [name: :other], key: :some_key, fields: [:some_field]])
@jonatanklosko
Copy link
Member

Available in v0.1.2 :)

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 a pull request may close this issue.

2 participants