The Libraries Numeric Data Catalog Holdings has some interesting data on the United States election results starting from 1912 to the most recent election year. Included are data on not only the presidential elections, but also gubernatorial, senatorial, congressional, and special senatorial elections. The source of the data is Dave Leip’s Atlas of U.S. Presidential […]
Python Open Lab Nov 28: Blog Style!
Hello all, Due to some complex scheduling issues, I am posting here the material we would have covered in lab tomorrow. Please feel free to contact me for any questions (data@library.columbia.edu). Enjoy! Python Objects and Classes (cont’d!) Self: What is the self variable in Python? The self variable represents the instance of the object itself. Unlike most object-oriented languages […]
Fall 2017 Python Open Lab Week 3
October 10, 2017 Week 3’s lab was intense! We started with list methods, where we left off last week and went through the following: list.append(x): Add an item to the end of the list. list.extend(L): Extend the list by appending all the items in the given […]
Fall 2017 Python Open Lab Week 2
Week 2: October 3rd This week we started with a brief review of the basics from week 1 and the starter kit. We continued on with Data Structures and worked through Lists, Tuples and Dictionaries. These concepts were easy to approach and we went over many practice examples on the way. Towards the end of […]
Fall 2017 Python Open Lab Week 1
Week 1 September 26 In week 1 of our Python Open lab, we introduced the Python Starter Kit and went over Python basics such as expressions, variables and statements, floats, statements, integers, strings, booleans, and control flow statements. The class was a mix of students with little to no experience with Python, to a few […]
R Open Lab Materials
For better reproducibility and accessibility, I created a GitHub repository (https://github.com/yuejin123/ROpenLab) to put the instruction materials I used for all the R Open Lab session in the past academic year. Again, thank you to all who came to the R Open Lab. ☀️Enjoy the summer!☀️ […]
New Additions to the Collection, May 22, 2017
The following titles were recently added or updated. CU Numeric Data Catalog Holdings New United States Presidential Election Results 1964 United States Presidential Election Results 1968 United States Presidential Election Results 1972 United States Presidential Election Results 1976 United States Presidential Election Results 1980 United States Presidential Election Results 1984 United States Presidential Election Results […]
New Additions to the Collection, May 15, 2017
The following titles were recently added or updated. CU Numeric Data Catalog Holdings New United States Presidential State-Level, All-Time Vote Data, 1824-2012 Recently updated United States Congressional Election Results, 2008-forward (new versions for 2008, 2012, 2014 House; 2012, 2014 Senate) United States Election Results – Governor, 1996 – forward (new versions for 2008, 2012, 2014) United States […]
Python Open Labs
In the penultimate session of Python Open Labs we had a brief review of csv concepts and XML parsing with BeautifulSoup Library. A boiler plate code for practise can be obtained below from the Google Drive link, filed under Session-19 folder. All of the course slides and examples are made available on: https://goo.gl/YP0c2E Next week on […]
Python Open Labs – CSV Files
As we move towards the end of Spring semester, having covered most of the basics in Python, the recent sessions have been focusing on introducing python modules requested by attendees. Last week had a second session on web-scraping with BeautifulSoup, I have updated the practice code for the same in Session-17 folder of the google […]