-
Notifications
You must be signed in to change notification settings - Fork 4
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
Contributing #4
Comments
Yes, that would be awesome! My general idea for this package is that it just exports a bunch of simple functions that all return either a Vega.jl or VegaLite.jl spec. The idea generally is that the API in this package here is not grammar of graphics style, but just one-function-one-plot, super simple. The prototype of that would probably be something like a function histogram(data)
return @vlplot(:bar, x={data, bin=true}, y="count()")
end or something like that. It doesn't save you a lot of code, but I for example can never remember the details of this, so just having a short and sweet function for something as common like this seems really helpful. Broadly speaking, I think there are two categories of potential functions:
There was also an older version of the Vega.jl package that had an API that was more in this spirit, the documentation is still up here, and there might be ideas there as well. I think one nice thing about this package is that one can get started very piecemeal, by just adding say one new function. No need to integrate with some pre-existing complicated architecture, every function here on its own helps :) |
@davidanthoff Is it okay to dump all functions in QuickVega.jl for now or is there already something like a design about how the source code should look like? |
@davidanthoff Thank you for the info. |
I think we could just start by dumping things into the repo and then discuss based on that? I really don't have any strong ideas for this beyond what I wrote above, so I think this would be very much a collaborative trial and error process for those that want to participate :) I think maybe a good strategy might also be to say that QuickVega.jl is in experimental state for the next six months or something like that, and during that time we might at any time change everything, i.e. we would provide zero backwards compat promises. That might allow us to really experiment without complicated backwards compat constraints. So I think just PRs like #5 are great: we can just start, see what works and take it from there. Really excited to see that you all are interested in contributing!! |
Hey guys, are you still working on this package? I didn't know that this initiative existed, so I was starting to implement it myself, with a package called Aquarius.jl. |
@davibarreira I'm still interested in contributing but I just don't have any idea what visualizations to start with. If you have ideas, I'd be happy to help implement them here. |
I created a README.md file and a logo for the project (personal hobby). I also added myself in the Project.toml (never contributed to open source, so I'm sorry if I wasn't supposed to do that). |
@davibarreira I'd consider this package as active since davidanthoff is still around in the Julia community. He's probably busy with teaching and/or other projects. Why don't we work on a fork of this project instead? I suggest this because I think it benefits this project in terms of discoverability to be part of the queryverse organization. |
Yeah! David actually responded to me on Slack. The package is active, which is great. Working on the fork seems like a good alternative. |
@davibarreira I see you've already forked the project. I have a local copy of that fork. What should we get started with? |
@hsm207 , I haven't planned much, but at the moment I guess we could start by implementing some of the basic plots, such as 2 of the pull requests have already done. For example, there is already an implementation of histogram and lineplot. Each implementation has a version using the data as DataFrame, and another using Arrays, which allows the package to be independent of DataFrames.jl. So I guess we could continue on this line, implementing some other basic plots, such as barplots, trailplots, distplots, etc. |
Hey @davidanthoff , I've finally restarted working on QuickVega, and will shortly send a pull request with several contributions. I know that you didn't want to make the package dependent on DataFrames.jl, but I've encountered some issues (I'll clarify in the pull request), so for now some of my code does depend on DataFrames. I've decided to keep on going like this for now, but the code can be easily refactored later to be made independent of DataFrames. Although, now that DataFrames is in version 1.0, perhaps it's more stable and can become a dependence. What do you think? Cheers! |
Great to hear this and looking forward to the PR! I think at this stage I'm primarily excited about any contribution to this package, and we can figure things like DataFrames.jl dependencies out as we go along. |
The code is still very undocumented, so I'll be doing some due diligence, and then submit the pull request. |
Hi,
I just saw the Juliacon video on the Vega ecosystem. I guess this package is a good way to start contributing?
What should I check in the Queryverse ecosystem to start working on this?
I'm a newbie in Julia development, but I worked with the Tidyverse in the R ecosystem.
Switching to Julia now!
Thanks
Faris
The text was updated successfully, but these errors were encountered: