-
Notifications
You must be signed in to change notification settings - Fork 255
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
D3-friendly outputs and templates #41
Comments
This all sounds good to me @pbinkley so please send the pull requests. FWIW I've half considered creating a new project (twarc-report?) that is oriented around generating a cohesive static report (using d3, bootstrap, etc). If you want to run in that direction I would be willing to help, and it might give you space to think? |
I've put in PR #42 for the first item. |
twarc-report 👍 |
You can see where I'm going in my timebar branch, which is almost ready for a PR: https://github.com/pbinkley/twarc/tree/timebar . I've got utils/profile.py to do line-by-line processing of tweets and gather basic stats about the tweet set. Then you extend that in a specific context, in this case in utils/timebar.py, which adds timezone conversion and aggregation of values. Finally, d3json.py (which needs to be renamed - it does csv as well) produces output in different formats. I'm renaming my two D3 html outputs to d3directed and d3times and moved their descriptions to the bottom of the readme. |
This is all super @pbinkley So it sounds like you are leaning towards creating a new github repository for twarc-report? If you do I think you want to make twarc-report stand alone as long as you have some data you collected with twarc (line oriented json) you can play. Does this make sense? |
Yes, I think that makes sense. I'd like to transfer ownership of it to @edsu when my current round is done, though, since your long-term commitment to twarc is likely to be more consistent than mine. Does that sound ok? I intend to finish off the D3 timeline bar graph and the co-tag directed graph, and come up with examples of using the data outputs with other D3 examples out there. I'd like to develop the profiler and the D3 data outputs far enough to support these uses, but I'm sure there will be more that others will want to add eventually. |
Well, you could transfer ownership -- but I like the idea of you retaining ownership. I can always help maintain it, and the great thing about github is that if issues don't get addressed and people care they can easily fork it right? |
OK, OK - we'll try that and see how she goes. Without the edsu brand, Peter Binkley 2-10K Cameron Library phone 780-492-3743 On 16 January 2015 at 08:29, Ed Summers notifications@github.com wrote:
|
What if there was a 'twarc' Github org? |
I've set up https://github.com/pbinkley/twarc-report and copied the current An org would work. Let's see how things go for now. Peter Binkley 2-10K Cameron Library phone 780-492-3743 On 17 January 2015 at 05:10, Nick Ruest notifications@github.com wrote:
|
My use case involves relatively small sets of tweets (~10k), from which I want to extract data to feed into various D3 visualizations: timelines, graphs, etc. I'll therefore be putting in a couple of PRs shortly (I hope), but some of this will stretch my python skills to the limit or beyond. I've got some work under way for parts of it but I don't lay claim to any of it.
Comments and suggestions (and code!) welcome.
The text was updated successfully, but these errors were encountered: