Stupid Emails from CEOs

  • We have 2o million in funding so work with us, can we pay you 25,ooo (or 400 $) to build a model for predicting influence score within social networks which we will patent
  • We have 20 million in funding so work with us, can we pay you 100,000 ( or 1600 $) to build a model to get healthcare score, which we will not even attribute to you as inventor
  • i am an advisor to this company and can get lots of millions of dollars in funding can i pay you in stock options
  • wow can u just give me 20 minutes of your time which I wont pay for, so I can decide analytics strategy
  • what is the difference between SAP and SAS
  • can we copy existing algorithms in R but make a slight modification and make them proprietary and patent them
  • we dont have any data, cant we just make an algorithm first
  • can we patent a regression model
  • i have 10 years experience in hadoop. lets make a virtual machine for R and R Studio separately which we can install on desktop. basically a 2gb download for a 100 mb software.

falls down. lies very very still.

crazyones-poster-copy2

Doing cricket analysis and web scraping in R using rvest #rstats

I modified the code used here (https://decisionstats.com/2012/04/07/cricinfo-statsguru-database-for-statistical-and-graphical-analysis/ )  with the code used here (http://reed.edu/data-at-reed/resources/R/rvest.html )  to get a more updated version of Cricket Analysis but using the rvest package by Hadley W Screenshot from 2015-05-12 13:55:03

Note you can change the url to make the records , the team , the type of record (batting or fielding)

I found it to be the third html table in the field by just testing it around

library(rvest)
page=html("http://stats.espncricinfo.com/ci/engine/stats/index.html?class=1;team=6;template=results;type=batting")
data %
 html_nodes("table") %>%
 .[[3]] %>%
 html_table()
head(data)

also see

http://codeforsacramento.org/blog/tutorial/2015/01/31/webscraping-with-r.html
http://renkun.me/pipeR-tutorial/Examples/rvest.html

%d bloggers like this: