Teaching Blogging and Social Media Analytics

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

https://www.facebook.com/events/1399437753708150/

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

Learn Blogging
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).

What’s More?
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)

Register :http://bit.ly/decisionstats
Contact: Sonam Tuteja – 9999659616 decisionstats2015@gmail.com

———————————————————————————-

11079581_1582815845321431_8829427897815039618_o

using R for Cricket Analysis #rstats

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.

library(rvest)
lego_movie <- html("http://www.imdb.com/title/tt1490017/")

rating <- lego_movie %>% 
  html_nodes("strong span") %>%
  html_text() %>%
  as.numeric()
rating
#> [1] 7.9

cast <- lego_movie %>%
  html_nodes("#titleCast .itemprop span") %>%
  html_text()
cast
#>  [1] "Will Arnett"     "Elizabeth Banks" "Craig Berry"    
#>  [4] "Alison Brie"     "David Burrows"   "Anthony Daniels"
#>  [7] "Charlie Day"     "Amanda Farinos"  "Keith Ferguson" 
#> [10] "Will Ferrell"    "Will Forte"      "Dave Franco"    
#> [13] "Morgan Freeman"  "Todd Hansen"     "Jonah Hill"

poster <- lego_movie %>%
  html_nodes("#img_primary img") %>%
  html_attr("src")
poster
#> [1] "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 html().
  • 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 xml_node(), xml_attr(), xml_attrs(), xml_text() and xml_tag().)
  • Parse tables into data frames with html_table().
  • Extract, modify and submit forms with html_form(), set_values() and submit_form().
  • Detect and repair encoding problems with guess_encoding() and repair_encoding().
  • Navigate around a website as if you’re in a browser with html_session(), jump_to(), follow_link(), back(), forward(), 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!

http://decisionstats.com/2013/04/25/using-r-for-cricket-analysis-rstats-ipl/

Meanwhile I am searching for equivalent of readHTMLtable

A Writer’s Dilemma A Data Scientist’s Decision

CAM00682Writing 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?

2015-1

What If India bans Facebook?

India bans Facebook for refusing to comply with Indian laws on sharing data to law enforcement and sharing data about Indian citizens to American law enforcement.

To fill the void left by Facebook, an Indian company decides to create Desibook- which quickly gains 300 million subscribers. Within a month life is back to usual for Indian users of social media, and a new hot tech startup is born which will be listed in Mumbai’s stock exchange?

What is wrong in the above scenario? What if —-

Cloud Computing for Christmas

My second book – R for Cloud Computing : An Approach for Data Scientists is now ready for sale ( ebook). Softcover should be available within a month. Some of you have already booked an online review copy. It has taken me 2 years to write this book, and as always I accept all feedback on how to be a better writer.

I would like to especially thank Hannah Bracken of Springer Publishing for this.

and I dedicate this book to my 7 year son Kush.

http://www.springer.com/statistics/computational+statistics/book/978-1-4939-1701-3

Screenshot from 2014-12-10 10:23:45

Everything that is good in me, come from your love, Kush

Workspaces as a Concept

 

By DecisionStats Research Team

What if you don’t feel like working at home anymore or you think that you are not very efficient while working at home or your parents who are used to seeing you going out and working are not excited to see you at home throughout the day or you yourself want for some change and you long for human interactions? I myself had many of these questions and a desire for such a place which is not an office but a workplace where I can work at my own pace and socialize as well. And here it is the arrival of WORKSPACE, exactly what I wanted. Workspace is a shared space for a working style called Co-working wherein individuals from different companies work together. It is also known as Co-working hub. The term co-working was coined by Brad Neuberg in 2005 and he originally called this style “9 to 5 group”. The concept aims at creating a social, collaborative, less distracting informal work setting for start-ups, entrepreneurs, and freelancers. Since many years, the coffee shops all across the country have catered this need of individuals subtly but now the workspaces are formally inviting these people to come for work, idea generation, networking and discussions.

In today’s digital world, people are online most of the time and those who are working on their own need some tangible human interactions. Workspaces are an attempt to bridge social isolation and bring back the energy, the bonds, the happiness and the laughter of togetherness. Today, co-working spaces exist worldwide, with many locations all across the globe. The concept is fast catching up in India as well, especially in metro cities where it is quite expensive to own a private office space and this option is very easy on the pockets. Also the majority demographic profile of our country, of below 35 years of age, prefers this working style more than a serious office setting.

In terms of facilities, these workspaces are offering almost all that is available in regular offices – workstations, storage cabins, air conditioning, internet access, pantry, cafeterias, conference rooms with projector, movie or game rooms, lounge areas, administrative and technical support, reception area, day care for kids, events, DJ, music etc.

So what is positive about these workspaces is that this setting is easy on mind by being informal, relaxed and no competition among peers. The concept fosters collaboration, sharing, effective work, constructive thoughts, creativity, learning and experience.

Some of the Co-working Spaces in Delhi are listed below:

  1. socialoffline.in

Social Offline, Hauz Khas Village, New Delhi. Price: INR 5,000 a month for 1 seat that is redeemable for food and drinks, hello@socialoffline.in.

  1. coworkable.com

The Studio, E Block, Kalkaji, New Delhi, Delhi, India., Price: INR 5500 per month (1 seat)

Contact: 098 18 306050

  1. 91springboard.com

91Springboard, B-1/H-3, Mohan Cooperative Industrial Estate, Mathura Road, New Delhi, India, Price: INR 7499 per month (1 seat), delhi@91springboard.com.

  1. moonlighting.in

Moonlighting, 19 Hemkunt Colony, Greater Kailash 1, New Delhi, India, Price: INR 6900 per month (1 seat), delhi.hosts@moonlighting.in, Contact: 097165 87873

  1. stirringminds.com

Stirring Minds, Central Delhi. One of its biggest attractions is its location right in the middle of hustle and bustle of the city. A-2/3 Asaf Ali Road, Next to Delhi Stock Exchange, New Delhi, 110002, Price: INR 7999 per month (1 seat), info@stirringminds.com. Contact: 01146105679, or at 9999105679

And some Co-working Spaces in Gurgaon,

  1. experiamedia.com

9JCM, Experia Media, 2nd Floor, 9 Jacaranda Marg, DLF City Phase 2, Gurgaon, Haryana, India. Price: Free for the first month, then INR 5500 per month (1 seat), info@experiamedia.com.

  1. 91springboard.com

91 Springboard, sector 18 Gurgaon, Price: INR 7499 per month (1 seat), delhi@91springboard.com.

  1. inhwabusinesscentre.com

Inhwa Business Centre, Gurgaon, Price: INR 11500 per month (1 seat), info@inhwabusiness centre.com.

Contact: 919818701326, +91 124 493 0777

  1. investopad.com

Investopad, Gurgaon, Price: INR 8000 per month (1 seat), hello@investopad.com.

Do watch out the upcoming articles, the authors will be reviewing these places and sharing their feedback with the readers on mostly all of them.