Publications

Publication RSS

Recent Posts

Blog RSS

More Posts

Introduction to Math for Political Scientists, AKA “Math Camp,” starts on Monday. The class is an absolute blast to teach, but that’s not the subject of the post. I’ve made the slides for the course in rmarkdown because I mix math and R code together.1 I can then export them fairly easily to pdf slides via the rmarkdown package, which relies on pandoc to convert the markdown to latex and then compile the latex.

CONTINUE READING

I taught an Intro to Data Analysis and Reporting with R course at the University of Gothenburg over the last couple days. Slides ad a more copy/paste friendly html page are available here.

CONTINUE READING

I’ve always wanted one of those wall maps that you can push pins into to show where all you’ve been. However, with college and grad school and whatnot, I’ve never really had the energy to put one up, since I know I’ll just have to take it down the next time I move. Then, something occurred to me: I like maps. I like traveling. I like R. So why not spend a night putting them all together?

CONTINUE READING

Lots of little things happen in grad school that take you by surprise but really shouldn’t. One of those things for me happened after I finished all of my coursework. Without the deadlines of weekly seminars, I didn’t read journal articles or books nearly as often as I should have. I figured this out about this time last year and made it my New Year’s resolution to get better at keeping up with journals.

CONTINUE READING

I submitted final course grades today. The semester is over, hurrah! Of course, getting the grades out of my university’s learning management system (we use Canvas) was a pain. It exported to csv, but the first three rows contained some meta-information instead of students’ grades. And there were some rows that weren’t students. So this meant that when I imported this into R, all the columns in my data.frame were of type character instead of numeric:

CONTINUE READING

Teaching