Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View schluedj's full-sized avatar

David Schlueter schluedj

  • Vanderbilt University Dept. of Biostatistics
View GitHub Profile
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "Summer Project"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@schluedj
schluedj / nb1
Created July 9, 2013 15:36
notebook
This file has been truncated, but you can view the full file.
{
"metadata": {
"name": "Summer Project"
},
"nbformat": 3,
"nbformat_minor": 0,
"worksheets": [
{
"cells": [
{
@schluedj
schluedj / life_exp.R
Created January 2, 2013 20:40
Life expectancy visualization. Playing around with ggmap. Data from WHO.
#####################################
#Life expectancy data visualization
###################################
library(ggplot2)
library(mapproj)
library(ggmap)
###############################################
#Code for obtaining lat and longitude of countries
#This goes into google to get coordinates from google earth
####################################################
@schluedj
schluedj / server.R
Last active December 10, 2015 09:58
Work in progress. World data visualizations. Mined and string matched data from WHO database and Google map coordinates.
library(shiny)
library(ggplot2)
library(maps)
data <- read.csv("world_dat.csv")
all_country<-map_data("world")
#function for limiting data
data <- read.csv("world_dat.csv")
all_country<-map_data("world")
@schluedj
schluedj / server.R
Last active June 29, 2019 07:18
Basketball visualizations. Shiny app test. Some of these graphs don't make much sense since I'm just testing. Data collected from databaseBasketball.com
library(shiny)
library(ggplot2)
team_season <- read.csv("zteam_season.csv")
#function for limiting data
shinyServer(function(input, output) {
#Data for plots
dat1<-reactive(function(){
#subset team by checkbox