My business is with R tonight, with maps and color. #IVMOOC Week 522 Feb 2015
So the midterm has me a bit disheartened. Not because of difficulty, but because of the miscommunication between the admin and the students. In Canvas the midterm description was set to Feb 16th 8pm EST deadline. After putting my son to bed, and while making dinner, I logged into Canvas and rushed to do the midterm. Flying through it, I ended up with a 21. Then I see the next day on twitter that it’s due on the 19th, yet this wasn’t reflected on Canvas. Had I known this, I would have set aside a better time to actually write the midterm, un-hurried and would have done much better. I had some misclicks, skipped questions not addressed and some bonehead mistakes (For all of the graphic work and video editing I’ve done why in the blue hell would I put saturation down as Qualitative? Derp.)
Also, upon seeing the correct answers, there some dubious incorrect answers. Word Cloud vs Tag Cloud? Cartograms vs Cartogram? These small errors don’t mean much, but they show some issues with the automatic grading system. I hope they get corrected in future versions. My mark can stand as it is, it wasn’t my best effort and is more reflective of poor time management, but this can be really discouraging for people and just make them walk away from the course.
And that’s all I have to say about that.
Week 5. For this week, I pretty much read the book chapter rather than watch videos, and the hands on videos didn’t really do more than what was covered in the chapters and sci2 wiki. I wasn’t terribly happy with the sci2 output, so I went to R. After thinking for a bit, I abandoned most of my attempts to collect all the data through R, because I remembered the ‘tree’ command in unix. So after a download of homebrew, brewing up tree and looking at the manual, I had my workflow:
- Generate directory hierarchy using tree
- Export it to xml
- Translate the xml to JSON
- load the JSON into R
- Refine the data
- Add secondary variable to encode the data (file counts)
- Treemapify the data and plot
- Clean up the plot in Affinity Designer
Below is my R code:
And here is the resulting visualization: