Skip to content

Instantly share code, notes, and snippets.

View josep2's full-sized avatar
🎯
Focusing

Jowanza Joseph josep2

🎯
Focusing
View GitHub Profile
@josep2
josep2 / BabeRuthPlotly.R
Created February 13, 2014 04:54
Code for plots using Babe Ruth's career numbers and the plot.ly API.
library(plotly)
#Load Data
BabeRuth<-read.csv('babe.csv')
## Enter API Credentials
p <- plotly(username="Plotly UserName", key="Plotly Key")
##Give it a check with a random graph
#Load Necssary packages
library(plotly)
#Upload the CSV
pitchfork<-read.csv('pitchfork_review_data.csv')
##Make a Best New Music Set
## My first attempt at using Julia
## Load Packages we want to use
using Gadfly, RDatasets, GLM
## Now Load some data in
neuro = dataset("boot", "neuro")
##Load data
Data<-read.csv('twitter_followers.csv')
##Load necessary packages
library(plotly)
##Plotly credentials
##Load Necessary Packages
library(maps)
require(RCurl)
library(RgoogleMaps)
library(stringr)
library(plotly)
library(tm)
library(rJava)
library(Snowball)
##Necessary Packages
library(ggplot2)
library(scales)
library(ggthemes)
library(RCurl)
library(repmis)
#Load Data
FinURL <-"https://www.dropbox.com/s/jayd5vksbo1gf3w/freemason.csv"
### A quick plot of the popularity of "Moesha" in Plot.ly
## Load The Package "Baby Names"
library(babynames)
##Re-assign
This<-babynames
##Find all the Moesha entries
var math = require('mathjs');
var c = math.select(3)
.add(17)
.multiply(13)
.subtract(6)
.done()
console.log(c); // 254
from bs4 import BeautifulSoup
import urllib
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.support import expected_conditions as EC
from selenium.webdriver.common.by import By
from selenium import webdriver
wd = webdriver.Firefox()
wd.get('https://www.dealchicken.com/Phoenix-az/27393')
##Necessary Packages
library(ggvis)
library(scales)
library(RCurl)
library(repmis)
library(lubridate)
#Load Data
FinURL <-"https://www.dropbox.com/s/jayd5vksbo1gf3w/freemason.csv"