I am holding a workshop near my residence in Hauz Khas Village, Delhi, India
It is to teach Marketing via Internet, Branding via Blogging and other fun stuff to make money while having fun on the internet.
Here is the event
A 2 hour Workshop on Web Analytics and Social Media Analytics
By Ajay Ohri, Founder of DecisionStats and a Technology expert with two published books and blogs with lakhs of views.
10th April 2015, Friday
Venue: Hauz Khas Village
Spread your credentials to the entire world by Blogging! It becomes easy for professionals to prove their worth by showing their knowledge through their blog. A good blog earns money too. It definitely acts as your launching pad in the world.
Build Effective Profiles
93% of recruiters review social profiles of candidates while recruiting. Learn how to build awesome profiles on LinkedIn.
Web Analytics (Google Analytics) – Measure your traffic in websites. Improve your web traffic through organic Search Engine Optimization and Search Engine Marketing (Adwords).
Learn how to Run Marketing Campaigns on Twitter & Facebook Pages Facebook can help make and succeed businesses through it’s marketing features.Use Twitter hashtags and campaigns for promoting your product.
Step into a world of unlimited possibilities by a digital analyst training.
Entry fee: Rs 100 per person (Student I card) Rs 200 (normal)
Contact: Sonam Tuteja – 9999659616 firstname.lastname@example.org
New Zealand just made it to their first ever world cup final ( yes it is cricket) and they made it with a thrilling six ( like a home run) for the last ball. Congrats to New Zealand .Of course R was created in New Zealand too and Hadley Wickham is from New Zealand
I recently installed the rvest package from https://github.com/hadley/rvest and its now on CRAN as well
rvest helps you scrape information from web pages. It is designed to work with magrittr to make it easy to express common web scraping tasks, inspired by libraries like beautiful soup.
lego_movie <- html("http://www.imdb.com/title/tt1490017/")
rating <- lego_movie %>%
html_nodes("strong span") %>%
#>  7.9
cast <- lego_movie %>%
html_nodes("#titleCast .itemprop span") %>%
#>  "Will Arnett" "Elizabeth Banks" "Craig Berry"
#>  "Alison Brie" "David Burrows" "Anthony Daniels"
#>  "Charlie Day" "Amanda Farinos" "Keith Ferguson"
#>  "Will Ferrell" "Will Forte" "Dave Franco"
#>  "Morgan Freeman" "Todd Hansen" "Jonah Hill"
poster <- lego_movie %>%
html_nodes("#img_primary img") %>%
#>  "http://ia.media-imdb.com/images/M/MV5BMTg4MDk1ODExN15BMl5BanBnXkFtZTgwNzIyNjg3MDE@._V1_SX214_AL_.jpg"
The most important functions in rvest are:
- Create an html document from a url, a file on disk or a string containing html with
- Select parts of a document using css selectors:
html_nodes(doc, "table td") (or if you’ve a glutton for punishment, use xpath selectors with
html_nodes(doc, xpath = "//table//td")). If you haven’t heard of selectorgadget, make sure to read
vignette("selectorgadget") to learn about it.
- Extract components with
html_tag() (the name of the tag),
html_text() (all text inside the tag),
html_attr() (contents of a single attribute) and
html_attrs() (all attributes).
- (You can also use rvest with XML files: parse with
xml(), then extract components using
- Parse tables into data frames with
- Extract, modify and submit forms with
- Detect and repair encoding problems with
- Navigate around a website as if you’re in a browser with
submit_form() and so on. (This is still a work in progress, so I’d love your feedback.)
While Hadley Wickham seems busy with reading excel files ( see https://github.com/hadley/readxl) maybe using rvest can help in more sports analysis now!
Meanwhile I am searching for equivalent of readHTMLtable
Writing sucks as a way of paying money. You have to constantly ask for gigs and favours so you can pay the bills, till your publisher sends you the royalties for writing statistics books (which is not much)
Recently I was approached by someone to do research on Indian nuclear policy . I mentioned my billing rates as 80 pounds per hour, but said person wanted me to raise it to 110 pounds per hour.
Only one small hitch. The sub part of Indian nuclear policy that I was asked to write a report on – was to locate , interview and find out India’s top nuclear scientists for small reactors.
India has of course a big research interest in nuclear energy but we seemed to be going in for big reactors and thorium reactors.
The only two small nuclear reactors in India- and one of them is in INS Arihant ( India’s nuclear submarine launched last year). In effect I was being asked to make a list of top 20 likely candidates who had helped India with a nuclear submarine reactor.
I have said no to the person, I have been subjected to verbal insults, threats and innuendo.
But Data Scientists trust in God. Everybody else has to work harder for the data.
I hope this is a lesson for fellow researchers , data scientists because as I said, writing is a lousy way of making money.
Was I wrong? Am I just living in a fantasy land? Do you believe I am a criminal and a thug?