# Sitemap

A list of all the posts and pages found on the site. For you robots out there is an XML version available for digesting as well.

## Regular expressions for replication

Published:

As part of the publication process for my recent article on how states preempt separatist conflict, I needed to submit replication materials to the journal. I took my graduate quantitative methods sequence with the late Tom Carsey, so I’ve long been a proponent replicability efforts in social science. I also had an hourly job in grad school replicating quantitative results for multiple political science journals, so I’m very familiar with best practices for replication. Unfortunately, in the four years since I wrote the first line of code for this project, somewhere in between defending my dissertation and starting a new job (ok, fine, almost immediately after writing that first line of code), I got a little lazy.

## Faceted maps in R

Published:

I recently needed to create a choropleth of a few different countries for a project on targeting of UN peacekeepers by non-state armed actors I’m working on. A choropleth is a type of thematic map where data are aggregated up from smaller areas (or discrete points) to larger ones and then visualized using different colors to represent different numeric values.

## Finding Backcountry Campsites with CalTopo, OpenStreetMap, and R

Published:

Like many people, I’ve been spending more time outdoors during this pandemic. While this means daily walks in my neighborhood, it also means getting out into the wilderness and sleeping in a tent when I can. Although outdoor recreation is one of the safer ways to entertain yourself these days, it’s not without its own concerns. The difficulty of safely getting to trailheads means that while I’m backpacking more than usual, it’s still not as often as I’d like.

## R Markdown, Jekyll, and Footnotes

Published:

I use jekyll to create my website. Jekyll converts Markdown files into the HTML that your browser renders into the pages you see. As others and I have written before, it’s pretty easy to use R Markdown to generate pages with R code and output all together. One thing has consistently eluded me, however: footnotes.

## Working with Large Spatial Data in R

Published:

In my research I frequently work with large datasets. Sometimes that means datasets that cover the entire globe, and other times it means working with lots of micro-level event data. Usually, my computer is powerful enough to load and manipulate all of the data in R without issue. When my computer’s fallen short of the task at hand, my solution has often been to throw it at a high performance computing cluster. However, I finally ran into a situation where the data proved too large even for that approach.

## Jekyll and HTML Widgets

Published:

I’m currently compiling a list of university-affiliated programs designed to help prepare students for graduate study in political science and assist them in the process of applying to graduate school (a labyrinthine and opaque process in many regards). Since travel costs can be a deciding factor for some students when deciding whether to apply to these programs, I thought it would be nice to also put them on a map.

## Extracting UN Peacekeeping Data from PDF Files

Published:

Some coauthors and I recently published a piece in the Monkey Cage on the recent military coup in Mali and the overthrow of president Ibrahim Boubacar Keïta. We examine what the ouster of Keïta means for the future of MINUSMA, the United Nations peacekeeping mission in Mali. One of my contributions that didn’t make the final cut was this plot of casualties to date among UN peacekeepers in the so-called big 5 peacekeeping missions .

Published:

One thing I haven’t covered in my previous posts on creating and customizing an academic website is how to actually add content to your site. You know, the stuff that’s the reason why people go to your website in the first place? If you’ve followed those guides, your website should be professional looking and already feeling a little bit different from the stock template. However, adding new pages or tweaking the existing pages can be a little intimidating, and I realized I should probably walk through how to do so. Luckily Jekyll’s use of Markdown makes it really easy to add new content!

Published:

This is a followup to my previous post on creating an academic website. If you’ve followed that guide, you should have a website that’s professional-looking and informative, but it’s probably lacking something to really make it feel like your own. There are an infinite number of ways you could customize the academicpages template (many of them far, far beyond my abilities) but I’m going to walk you through the process I used to start tweaking my website. The goal here isn’t to tell you how you should personalize your website, but to give you the tools to learn how to implement whatever changes you want to make.

Published:

If you’re an academic, you need a website. Obviously I agree with this since you’re reading this on my website, but if you don’t have one, you should get one. Most universities these days provide a free option, usually powered by WordPress (both WashU and UNC use WordPress for their respective offerings). While these sites are quick to set up and come with the prestige of a .edu URL, they have several drawbacks that have been extensively written on.

## Visualizing Police Militarization

Published:

Much has been written lately about the increasing militarization of US law enforcement. One of the most visible indicators of this shift in recent decades is the increased frequency of tactical gear and equipment worn and carried by police officers. However, this pales in comparison to images of police departments bringing armored vehicles to peaceful protests.

## Counting Words in a Snap

Published:

14 pt periods. 1.05” margins. 2.1 spaced lines. Times Newer Roman. I’ve seen them all, and I’m tired of trying to catch them. So, I’ve stopped assigning papers in terms of page length and switched to word counts. Unfortunately, counting words is more time-intensive than counting pages.

## Better Beamer Presentations the Easy Way

Published:

Everyone knows that Beamer makes frankly terrible presentations without a good deal of help. A well crafted Beamer presentation can be a thing of beauty, especially since you can use knitr or R Markdown to automatically generate tables and figures, but it takes a lot of work.

## Checking Progress with Bash

Published:

I’m currently cleaning and wrangling a large (> 2 billion observations) dataset. Due to its size, I’m running code in batch mode on a remote cluster. Not running interactively makes it harder for me to check on my code’s progress.

## Fancy Icons and LaTeX Quirks

Published:

I recently updated my CV to add my ORCiD identifier to it up top among the other places to find me online. An ORCiD is an online identifier that persists through any changes to your name, institution, or email address throughout your life.

## Combining PDF Documents the Smarter Way

Published:

My previous post on combining multiple PDF files had an important caveat that things would end up in the wrong order if you had files with leading ID numbers that started at 1 and ended at 12, you’d end up with PDFs combined in the order 1, 10, 11, 12, 2, 3, …, 9.

## Combining PDF Documents

Published:

How many times have you found that your institution has access to a digital version of a book you need only to discover that it comes in 15 different PDF files?

## Internet of Things based framework for trajectory tracking control

N. K. Verma, N. K. Dhar, A. Kar, R. Dev, S. S. Farhad Nawaz and A. Salour. 2016. "Internet of Things based framework for trajectory tracking control." 2016 IEEE 3rd World Forum on Internet of Things (WF-IoT) pp. 265-270. doi:10.1109/WF-IoT.2016.7845460

## Trajectory tracking by automated guided vehicle using GA optimized sliding mode control

A. K. Kar, N. K. Dhar, R. Chandola, S. S. F. Nawaz and N. K. Verma. 2016. "Trajectory tracking by automated guided vehicle using GA optimized sliding mode control." 2016 11th International Conference on Industrial and Information Systems (ICIIS) pp. 71-76. doi:10.1109/ICIINFS.2016.8262910

## Automated guided vehicle navigation with obstacle avoidance in normal and guided environments

A. K. Kar, N. K. Dhar, S. S. F. Nawaz, R. Chandola and N. K. Verma. 2016. "Automated guided vehicle navigation with obstacle avoidance in normal and guided environments." 2016 11th International Conference on Industrial and Information Systems (ICIIS) pp. 77-82. doi:10.1109/ICIINFS.2016.8262911

## On Obstacle Avoidance Characteristics of Proportional Navigation Guidance

Savvas Sadiq Ali, Farhad Nawaz, Pranav Tekade, and Ashwini Ratnoo. 2020. "On obstacle avoidance characteristics of proportional navigation guidance." AIAA Scitech 2020 Forum pp. 1093. https://doi.org/10.2514/6.2020-1093

## Explorative Probabilistic Planning with Unknown Target Locations

F. Nawaz and M. Ornik. 2020. "Explorative Probabilistic Planning with Unknown Target Locations." 2020 59th IEEE Conference on Decision and Control (CDC) pp. 2732-2737. doi:10.1109/CDC42340.2020.9304481