igraph to calculate the internal PageRank of websites

plot graph website for SEO analysis
Graph of an ecommerce website where the nodes are webpages and the edges, links between them
Analysing websites internal linking is key to understand their architecture of information and web structure and thus their potential of Search Engine Optimization, SEO.

Graphs are made of nodes and edges. In SEO nodes are webpages and edges, links directed to them from other webpages on the graph.

library(igraph)
dat=read.csv(file.choose(),header=TRUE) # choose an edgelist in .csv file format
g=graph.data.frame(dat,directed=TRUE)
transitivity(g)

Transitivity or clustering coefficient is the probability that the adjacent vertices of a vertex are connected.

Count vertices vcount(graph)
Count edges ecount(graph)

Diameter
diameter(graph)
The diameter of a graph is the length of the longest geodesic.

Graph density
graph.density(graph)
The density of a graph is the ratio of the number of edges and the number of possible edges.

Find more about plotting directed graphs here.

Post to Twitter

Most hated videos

YouTube hosts videos that are, on average, popular. This translates into high numbers of views and “I like this” clicks.
Usually there is a small number of “I dislike this”.

easyJet Hold Luggage Allowances Explained

On Feb 8th 2015 it had been viewed 84373 times, liked 12 times and disliked 26 on YouTube, that is more than 2 times as many!

The reason is simple: the video is featured on an Easyjet support page. Instead of containing instructions of travel planning, the video is a piece of corporate propaganda.

Post to Twitter

Seven 2015 resolutions of a digital marketer

  1. block out Googlebot and all known robots from my personal website
  2. keep automating data: ifttt.com, followthatpage.com and all price trackers I can get hold of
  3. mash up APIs left and right for my own
  4. bag hundreds of interesting articles in my personal wallabag
  5. learn how to massage all sorts of data formats, be it dates, vectors or else, on R
  6. follow the marketing efforts of remarkable brands like beardbrand and pantone
  7. read Advanced Analytics with Spark
  8. donate to the following tools and software
    • Wallabag
    • Ubuntu
    • Kdiff3
    • Filezilla
    • Notepad
    • Mozilla

Post to Twitter

Mind map of The Bonfire of the Vanities by Tom Wolfe

Tom Wolfe

I can emphasize with Tom Wolfe’s anti-intelectuallism and criticism of the art world. I tolerate his white suits too. I do hate however his inventing the use of present tense in profile articles (upon Ben Yagoda).

Police and emargency services in the field use the present tense to report an accident or an arrest for instance. Their descriptions read strained and clumsy. Poorly educated journalists resort to present tense when, in their minds, past tense sounds old fashioned.

The book

 

Bronx County Building
Bronx County Building / Gibraltar in the book

 

I read The Bonfire of the Vanities with the hope of remembering the 80’s. The noughties explain better what is going on nowadays that probably the 90’s do. For instance, the inability of Sherman McCoy to explain his job is bizarrely contemporary.  Trading with in the bond markets anticipated the antics of the Credit Default Swap dealers two decades later. The CDS fuelled the subprime mortgage crisis that in turn is still ravaging the public finances of US and Europe nowadays.

Life-inspired elements of the novel

Pierce & Pierce are Lehman Brothers

Tommy Killian is Eddie Hayes

Reverend Bacon is Reverend Al Sharpton

Judge Kovitsky is Burton Roberts

 

Mind map of the book

  • People
    • Sherman McCoy – bond trader
      • Judy – wife
        • Campbell – daughter
      • Maria – lover
        • Arthur Ruskin – millionaire
      • Gene Lopwitz / boss
      • Killian – lawyer
    • Larry Kramer –  assistant district attorney
    • Henry Lamb – victim accident
    • Kovitsky – judge
    • +
      Abe Weiss

      • Fitzgibbon
      • Martin
    • Peter Fallow – social life reporter
      • Gerald Steiner / boss at the The City Life
      • Vogel
    • +
      Rev. Bacon – swindler Harlem

      • Fisker – creditor
  • Zeitgeist
    • 1987
    • Ronald Reagan in office
    • Black Monday: Stock market crashes
    • Microsoft releases Windows 2.0
  • Places
Mind map of the Bonfire of the Vanities
Mind map of the Bonfire of the Vanities

 

The Bonfire of the Vanities – Tom Wolfe

To-do’s:

Find about the film locations here and here

Compare the Bronx and New York of the early century with the same places in the 80’s

Read about the bickering between Norman Mailer and Tom Wolfe

Post to Twitter

Disconnected notes from an amnesiac