Skip to content

Instantly share code, notes, and snippets.

View kellobri's full-sized avatar

kellobri

View GitHub Profile
@kellobri
kellobri / basic-email.Rmd
Created November 26, 2018 19:21
Basic Email Report on RStudio Connect
---
title: "Email Report and CSV File"
output: html_document
rmd_output_metadata:
rsc_email_subject: "CSV Data Report"
rsc_email_attachments:
- "df.csv"
---
```{r setup, include=FALSE}
@kellobri
kellobri / rsc-aws-linux2.md
Last active October 12, 2018 19:48
Basic Install & Configure RStudio Connect on Amazon Linux 2

Basic Install & Configure RStudio Connect on Amazon Linux 2

yum update -y
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

Build R From Source | Ref: 2.1.2

@kellobri
kellobri / Day0.rb
Created January 5, 2015 19:37
equalitiesDay0
print "1. "
puts 4 == 2 * 2
print "2. "
puts 6 > 4
print "3. "
puts (12 * 2) > 10
print "4. "
@kellobri
kellobri / server.R
Last active August 29, 2015 14:07
ShinyCCmaps-v2-3x3shell
library(maps)
library(ggplot2)
library(dplyr)
set.seed(500)
states = c("alabama","arizona","arkansas","california",
"colorado","connecticut","delaware","district of columbia",
"florida","georgia","idaho","illinois",
"indiana","iowa","kansas","kentucky",
@kellobri
kellobri / server.R
Last active August 29, 2015 14:07
ShinyCCmaps-v3-StateCompare
library(maps)
library(ggplot2)
library(dplyr)
set.seed(500)
states = c("alabama","arizona","arkansas","california",
"colorado","connecticut","delaware","district of columbia",
"florida","georgia","idaho","illinois",
"indiana","iowa","kansas","kentucky",
@kellobri
kellobri / DiabetesData.csv
Created September 14, 2014 21:48
ShinyCCmaps-v1-kelly
State County FIPSCodes Diabetes LeisureInactivity Obesity
Alabama Autauga 01001 12.1 27.9 31.3
Alabama Baldwin 01003 11.5 25.2 25
Alabama Barbour 01005 14.8 32.3 38.4
Alabama Bibb 01007 12.7 33.2 37.3
Alabama Blount 01009 13.2 29.8 30.9
Alabama Bullock 01011 17.6 32.8 43.2
Alabama Butler 01013 16.1 37.3 38.4
Alabama Calhoun 01015 13.2 33.2 31.5
Alabama Chambers 01017 15.7 35.3 39.7
@kellobri
kellobri / DiabetesData.csv
Created September 14, 2014 21:43
ShinyCCmaps-v1-ui
Alabama Autauga 01001 12.1 27.9 31.3
Alabama Baldwin 01003 11.5 25.2 25
Alabama Barbour 01005 14.8 32.3 38.4
Alabama Bibb 01007 12.7 33.2 37.3
Alabama Blount 01009 13.2 29.8 30.9
Alabama Bullock 01011 17.6 32.8 43.2
Alabama Butler 01013 16.1 37.3 38.4
Alabama Calhoun 01015 13.2 33.2 31.5
Alabama Chambers 01017 15.7 35.3 39.7