Publications by Vivek Patil
Short tales of two NCAA basketball conferences (Big 12 and West Coast) using graphs
Having been at the University of Kansas (Kansas Jayhawks) as a student and now working at Gonzaga University (Gonzaga Bulldogs), discussions about college basketball are inescapable. This post uses R, ggmap, ggplot2 and the shiny server to graphically visualize relationships between few basketball related variables for two NCAA basketball confere...
16974 sym 24 img
Visualizing the Forbes-CCAP University Rankings using ggplot2, rCharts, googleVis, and the shiny server
President Obama is pushing for higher education reform and the development of a rating system for Universities is a critical component of it. These ratings are likely to be based on several measures, such as graduation rates, earnings of graduates, and affordability of education. Discussions of these plans can be found in leading national news ou...
6791 sym 2 img
Why use R for Data Analysis?
This was a presentation made to few of my colleagues. The idea was to provide a brief introduction to R, provide few reasons for my switching to it, and give some samples of graphics/interactive visualizations that could be created with minimal coding. Slidify (impressjs framework) was used for putting the presentation together (the coding is imp...
1144 sym
Crime Against Women in India – Addressing 8 Questions Using rCharts, googleVis, and shiny
Recent crimes against women, specifically the 2012 gang rape in New Delhi of a 23 year old lady, have pushed this issue as a substantially significant one for Indians to deal with. In this post, I try to address 8 different questions regarding crime against women in India. (1). How have numbers in different types of crimes and percentage of ...
2235 sym
Subsidies, Revenues, and Expenses of NCAA Division I Public Schools Athletic Departments – Visualizations using rCharts and animint generated interactive ggplots
Two interesting articles in recent issues of The Atlantic linked sports to tax-payer dollars. The first few lines of Gregg Easterbrook’s article, titled How the NFL Fleeces Taxpayers, were: “Taxpayers fund the stadiums, antitrust law doesn’t apply to broadcast deals, the league enjoys nonprofit status, and Commissioner Roger Goodell makes $...
8128 sym
Replication of few graphs/charts in base R, ggplot2, and rCharts
In this post, I use a simulated dataset (7 variables -3 factor and 4 numeric – and a sample size of 50) to create graphs/charts using base R, and replicate them using ggplot2, and rCharts. This is not an attempt to create an exhaustive database of graphs/charts of all possible combinations, but it was an exercise to generate some of the common ...
1452 sym
Visualization of 2012 Crime Rates of Different States in the US using rCharts
In this post, I look at crime rates (per 100,000 people) in 2012 for different crimes in different states. Data from FBI’s Uniform Crime Reports site were used for this analysis. The methodology used by the FBI and the caveats associated with the data can be found on their website. Although this analysis does not get into the causal factor...
1447 sym
Animated choropleths using animation, ggplot2, rCharts, googleVis and Shiny to visualize violent crime rates in different US States across 5 decades
This post uses animated choropleths to visualize violent crime rates in different US States across 5 decades (1961-2010). Data are retrieved from Quandl. Animation of rCharts and googleVis based choropleths is done in the shiny server environment and ggplot2 based choropleths are animated using the animation package. [Even though using shiny f...
997 sym
Scraping Pro-Football Data and Interactive Charts using rCharts, ggplot2, and shiny
This post uses pro-football (American) boxscore data from 1966 through 2013 and generates few interactive charts using rCharts, ggplot2 and shiny. It also provided a first time exposure to the power of dplyr. Data for these charts were scraped from the excellent reference site, pro-football-reference.com, using a function written in R. (This ...
1179 sym
Choropleths and Bar charts of State Wise Potentially Preventable Deaths using googleVis and shiny
Related To leave a comment for the author, please follow the link and comment on their blog: Adventures in Analytics and Visualization. R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job. Want to share your content on...
424 sym