Tag Archives: Ruby

Ruby’s Benevolent Dictator

The first version of the Ruby programming language was developed by Yukihiro Matsumoto, better known as “Matz,” in 1995. Since then it has become especially popular for web development thanks to the advent of Rails by DHH. A variety of … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , , , , , | 2 Comments

RubyMotion for Complete Beginners

According to the RubyMotion guide for getting started, “RubyMotion is a toolchain that permits the development of iOS applications using the Ruby programming language.” In less formal terms it lets you write iOS apps in Ruby using your favorite development environment … Continue reading

Posted in Technical, Uncategorized | Tagged , , , , , , | 2 Comments

How to Get FIPS Codes from Latitude and Longitude

FIPS codes are unique identifiers for geographic units within the US. Although they have technically been withdrawn as a standard, they are still widely used in political science and other applications for geographic categorization of data. For example, the CBS/New … Continue reading

Posted in Technical, Uncategorized | Tagged , , , , , , , , | Leave a comment

Wednesday Nerd Fun: Oximetry with Ruby and R

These posts are getting pretty esoteric, which may be a sign that I should put the series on hold for a while. Feed back is welcome. In any event, here’s some midweek entertainment for the coders among you: A popular … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , , | 1 Comment

Merging Arthur Banks’ Time Series with COW

Recently I needed to combine data from two of the most widely used (at least in my subfield) cross-national time-series data sets: Arthur Banks’ time series and the Correlates of War Project (COW). Given how often these data sets are … Continue reading

Posted in Technical, Uncategorized | Tagged , , , , , , , , , , , , , , , , | 1 Comment

Getting Started with Prediction

From historians to financial analysts, researchers of all stripes are interested in prediction. Prediction asks the question, “given what I know so far, what do I expect will come next?” In the current political season, presidential election forecasts abound. This … Continue reading

Posted in Technical, Uncategorized | Tagged , , , , , , , , , , , , , | Leave a comment

Eliminate File Redundancy with Ruby

Say you have a file with many repeated, unnecessary lines that you want to remove. For safety’s sake, you would rather make an abbreviated copy of the file rather than replace it. Ruby makes this a cinch. You just iterate … Continue reading

Posted in Uncategorized | Tagged , , , , , , , , , , , | 2 Comments