The topic for today is writing loops in R. Looping is equivalent to iterating or just replicating instructions. By letting the computer take over the repetitive work, we make our life much easier. We also talked a bit about how to avoid writing loops and make our code more efficient. Thank you to everyone who […]
Month: November 2016
Map Club — WORKSHOP (Part I) — D3.js
In its second to last session, Map Club took on the first part of a guided introduction to D3.js. D3.js is a JavaScript library for manipulating documents based on data. This workshop, focusing on the general setup and visualization capabilities of the library, led participants through the basics of SVG, data types, and generating simple shapes from custom arrays. […]
R Open Lab – dplyr package
This Wednesday we talked about how to use the dplyr package in R. The dplyr package makes data manipulation faster, easier and more straightforward. We covered the syntax and functions of the package, and tried it out on our Walmart Store Sales dataset. We also briefly introduced R Notebook and R presentation. R open lab […]
Map Club — Cartogram Hexmaps with Tilegrams
The latest session of Map Club took a data journalism bent: last Friday, we focused on creating cartogram hexmaps with Tilegrams, a generator by data visualization studio Pitch Interactive. The tool enables users to quickly create proportionate hex-based maps of the United States using custom or built-in data, and export generated maps to both SVG and topojson. Tilegrams provides […]
Python Open Labs – Session 7
Strings form an important data type in any programming language, especially involving text, processing files such as log files, articles etc. Python provides a string as a built-in data type supported with strong library functions that we looked at in today’s session. The course material for the same can be accessed on: https://goo.gl/YP0c2E Next week we […]
Map Club — WORKSHOP — Introduction to QGIS
Last Friday, Map Club embarked upon its second workshop of the semester. This time, we focused on QGIS, a free and open source geographic information system that offers powerful tools for data editing, viewing, and analysis. Participants learned how to import shapefiles into the interface, explore data using the attribute table, and visualize land use in Manhattan with public building footprint data. From […]
R Open Labs – Writing Functions
This Wednesday we talked about how to wrie functions in R. The topic is very simple but useful. Thank you to everyone who showed up! See you next Wednesday 11/16/2016 10:00-12:00 at DSSC! Also, we will host a R workshop about regresssion next Friday 11/19/2016 10:00-11:00 at Science & Engineering LIbrary! […]
Python Open Labs – Session 6
Hi In the 6th session of Python Open Labs, today we covered the concepts on comparison operators, logical operations and complex logical expressions. If you attended today’s session, I encourage you all to try out the practice problems from the slides on the google drive link given below. Python Open Labs Slides: https://goo.gl/YP0c2E Tip of the […]
R Open Labs – Time Series Analysis (contd)
This Wednesday we continued to talk about some broad ideas of time series analysis. We explored seasonal trend decomposition, which can be used to show the seasonal fluctuation and main trend of the dataset. It’s a very involved topic, so thank you and a round of applause to everyone who showed up today. Next week […]