## Results of Officer Elections and Survey

The big news out of GRiD this past week was the interim elections for GRiD club officers. While having a full executive board is very exciting, the election data unfortunately are not–since everybody was running unopposed. Just for fun, I’ll do a visualization of results anyway. Plus I’ll look at the responses to two survey questions on the election form. All analysis is conducted using R, with figures made using the ggplot2 package. If you want to have a crack at the data yourself, or just reproduce the analysis herein, you can find the code and data in this gist.

### Step 1: Getting the data

The elections were conducted online using Google Forms, which returns results as a csv file. So loading the data is straightforward:

### Step 2: Choosing a ggplot theme

Since this is a post about elections, I thought I’d go with the “ggthemes::theme_fivethirtyeight” theme, but this doesn’t have a y-axis title, so I’ll change it accordingly:

### Step 3: Plot the election results

The code below produces the plot the follows it. It includes some light preprocessing to get the data into the form that ggplot likes. I won’t go into detail about this here; have a look at the documentation for the functions below if you want to know more.

As I said, not very exciting. Everyone got 100% of the vote. That’s what happens when you run unopposed.

### Step 4: Plot the survey responses

Before presenting the survey results, a brief note for future Google Form setup: don’t include commas in checkbox options!. Google returns the responses to checkbox input for each respondant and question as a as comma-delineated string. Because of this, it’s impossible for R to disambiguate the delimiter commas from the text commas. For example, here is one person’s responses to the question “What kinds of GRiD events are you most interested in?”:

Splitting this string by comma yields a character vector of length 7, despite only 4 checkboxes having been selected:

To remedy this, I had to manually replace non-separating commas with something else; I chose to use a forward slash. I did this replacement using the gsub function and (not so much here as in the next question) appropriately chosen regular expresions. Here is the result of doing this with the first survey question:

The next survey question had a lot of commas inside of parentheses and only one outside of parentheses. Replacement of the inside-parentheses commas is pretty simple using the right regular expression. Actually, I just did away with the parenthetical statements altogether.

Now that that’s fixed, we can finally look at the survey responses!

#### Question 1: What kinds of GRiD events are you most interested in?

Question 2: What data science topics do you want to learn (more) about?

Neat! So it looks like GRiD members are most interested in attending talks by people in industry and professional-development events. We’ll be sure to host more of these! There is also major interest in learning big data methods (Spark, Hadoop, and the like), data visualization, Bayesian stats, and others. This is great. So many things to get excited about.

If you are a GRiD member and haven’t yet completed the member survey, you can still do that here.