Tag: R Page 1 of 2

Packaging the TheyWorkForYou API

TheyWorkForYou is a great website for keeping up with British politics and one of the many fine things mySociety does to make democracy in the UK more transparent….

Identifying the OS from R

Sometimes a bit of R code needs to know what operating system it’s running on. Here’s a short account of where you can find this information and a…

Getting R and Java 1.8 to work together on OSX

Hey Mac OSX users with Java 1.8 installed. Did R just request a Java 1.6 installation and then promptly crash your session?¬† If so, read on…

More SOTU Scaling

A couple of days ago the Monkey Cage featured Ben Lauderdale’s one-dimensional scaling model of US State of the Union addresses. In this post, I replicate the analysis…

Call them what you will

I’ve been playing around with the R package texreg for creating combined regression tables for multiple models. It’s not the only package to do that – see here…

Which political science journals will have a data policy?

Making available replication materials for the research you do is A Good Thing. It’s also work, and it’s quite easy to never get around to. Certainly¬†I claim no…

R to Latex packages: Coverage

There are now quite a few R packages to turn cross-tables and fitted models into nicely formatted latex. In a previous post I showed how to use one…

Tools for making a paper

Since it seems to be the fashion, here’s a post about how I make my academic papers. Actually, who am I trying to kid? This is also about…

Quantifying the international search for meaning

Inspired by Preis et al.’s article Quantifying the advantage of looking forward, recently published in Scientific Reports (one of Nature publishing group’s journals), I wondered if similar big-data…

Show me the pdf already

You’ve got a pdf file and you’d like to view it with whatever the system viewer is. As usual, that requires something special for Windows and something general…