BookmarkSubscribeRSS Feed

US citizenship application downloads spike between Nov. 9 and 10

Started ‎11-11-2016 by
Modified ‎08-04-2021 by
Views 2,537

Editor's note: SAS programming concepts in this and other Free Data Friday articles remain useful, but SAS OnDemand for Academics has replaced SAS University Edition as a free e-learning option. Hit the orange button below to start your journey with SAS OnDemand for Academics:

 

Access Now


Well, the US election is history, and the results are making headlines around the world. Was there any discernible effect on the number of downloads from government websites? USA.jpg

 

First, I looked for data on the Canadian government websites. You probably heard that Canada's Immigration website crashed on election night, presumably overwhelmed by Americans unhappy with the results. Not finding anything significant, I decided to revisit  the US government website where I got data for last week's post. Today's post compares download-data sets for Nov. 9 and 10. If you’re interested, please comment below and I’ll send you the files.

 

Get the data

I recommend going through the Analytics website – definitely enough there for me to write a year’s worth of Free Data Friday posts!  However, the data I used for this article came from the http://analytics.usa.gov site, specifically this link.

 

 

Get Started with SAS OnDemand for Academics

 
In this 9-minute tutorial, SAS instructor @DomWeatherspoon shows you how to get your data into SAS OnDemand for Academics and other key steps:

Get Started

 

 

FreeDataFriday_graphic.jpgGetting the data ready

The data was already in a format that I could use, and there were no missing or clearly incorrect data.  I did have to download the each day's data separately and merge everything, as well as add a Date column. 

 

The Results

So the first thing I did is run a quick SQL query to see what the data looks like:

  

proc sql;
select Date, site, Total_Events
from work.import
order by Total_Events desc;
quit;

 

Huge jump in applications for US citizenship

I’m sorting the TOTAL_EVENTS descending because I want to see what the top downloads were. What I get simultaneously surprised and didn’t surprise me.

 

image1.png

 

Almost 60,000 downloads for the Application for Naturalization on Nov. 10, and just over 28,000 for the Election Process PDF on the 9. I expect a lot of people were trying to figure out what was actually going on during the election. 

 

So now I have a sense of what the data looks like, let’s dig into it a little more. As a fan of scatterplots, I wanted to take the data and similar to the above SQL query, just see where everything fell.

 

I use my Scatterplot task, and put in a WHERE clause for the TOTAL_EVENTS being greater than 10,000. 

image2.png

When I run the task, I get:

image3.png

 

That's a lot of downloads, and I imagine the departments that process this paperwork are going to be flooded. 

 

The final graph I wanted to show was based on Robert Allison's comment on one of my previous posts about using horizontal bar charts.  I must admit, I’ve never realized why one would use horizontal versus vertical, and I’ve always found it easier comparing left to right than top to bottom.  However, I now understand and the graph here shows why.

 

Here’s the task setting it up:

image4.png

 

The graph:

image5.png

 

As you can see, the Childhood Arrivals label is very long; on a vertical chart, the label would be either wrapped multiple times or cut off, potentially making it unidentifiable.  This way, it’s fit onto the screen and everything works. 

 

Now it’s your turn!

 

Did you find something else interesting in this data? Share in the comments. I’m glad to answer any questions

 

 

 

 

 

 

 

 

 

Version history
Last update:
‎08-04-2021 07:18 AM
Updated by:

Ready to join fellow brilliant minds for the SAS Hackathon?

Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.

Register today!

Free course: Data Literacy Essentials

Data Literacy is for all, even absolute beginners. Jump on board with this free e-learning  and boost your career prospects.

Get Started

Article Tags