Publications by Maëlle Salmon

A glance at R-bloggers Twitter feed

27.02.2017

It’s the second time I write a post about the blog aggregator R-bloggers, probably because I’m all about R blogs now that I have one. My husband says my posts are so meta. My first post was about R blogs names, in this one I shall focus on the last 1,000 tweets from R-bloggers. Getting the tweets Thanks to rtweet, this is fairly easy. I get ...

4471 sym R (2129 sym/16 pcs) 10 img 6 tbl

A glance at R-bloggers Twitter feed

27.02.2017

It’s the second time I write a post about the blog aggregator R-bloggers, probably because I’m all about R blogs now that I have one. My husband says my posts are so meta. My first post was about R blogs names, in this one I shall focus on the last 1,000 tweets from R-bloggers. Getting the tweets Thanks to rtweet, this is fairly easy. I get ...

4471 sym R (2129 sym/16 pcs) 10 img 6 tbl

Hundreds of Guardian blind dates

06.03.2017

One of my more or less guilty pleasures is reading The Guardian blind date each week. I think I started doing this when living in Cambridge, England for five months. I would buy i every weekday and The Guardian week-end every week-end. I wasn’t even dating at the time I discovered The Guardian blind dates but I’ve always liked their format. I...

6358 sym R (4912 sym/15 pcs) 6 img 5 tbl

Hundreds of Guardian blind dates

06.03.2017

One of my more or less guilty pleasures is reading The Guardian blind date each week. I think I started doing this when living in Cambridge, England for five months. I would buy i every weekday and The Guardian week-end every week-end. I wasn’t even dating at the time I discovered The Guardian blind dates but I’ve always liked their format. I...

6358 sym R (4912 sym/15 pcs) 6 img 5 tbl

Faces of #rstats Twitter

18.03.2017

This week I was impressed by this tweet where Daniel Pett, Digital Humanities Lead at the British Museum, presented a collage of Twitter profile pics of all his colleagues. He made this piece of art using R (for collecting the usernames) and Python. I’m a bit of an R fanatic (or a Python dummy…) so I decided to write a code in R only to make ...

3530 sym R (1901 sym/10 pcs) 2 img

Mapping waxwings annual migration without Twitter

07.04.2017

Recently a reader left a comment on this blog mentioning his cool blog post in which he mapped the spread of a migratory bird using Twitter. His data source was the Waxwings UK account which reports sightings of Bohemian waxwings in the UK. I decided to try reproducing and extending his work using the rOpenSci spocc package that interfaces differ...

7471 sym R (4994 sym/9 pcs) 8 img

Sow the seeds, know the seeds

11.04.2017

When you do simulations, for instance in R, e.g. drawing samples from a distribution, it’s best to set a random seed via the function set.seed in order to have reproducible results. The function has no default value. I think I mostly use set.seed(1). Last week I received an R script from a colleague in which he used a weird number in set.seed (...

3163 sym R (1473 sym/5 pcs) 3 tbl

A classical analysis (Radio Swiss classic program)

22.04.2017

I am not a classical music expert at all, but I happen to have friends who are, and am even married to someone who plays the cello (and the ukulele!). I appreciate listening to such music from time to time, in particular Baroque music. A friend made me discover Radio Swiss classic, an online radio playing classical music all day and all night lon...

3384 sym R (3258 sym/6 pcs) 6 img 1 tbl

A classical analysis (Radio Swiss classic program)

22.04.2017

I am not a classical music expert at all, but I happen to have friends who are, and am even married to someone playing the cello (and the ukulele!). I appreciate listening to such music from time to time, in particular Baroque music. A friend made me discover Radio Swiss classic, an online radio playing classical music all day and all night long,...

3388 sym R (3258 sym/6 pcs) 6 img 1 tbl

Radio edit: an improved scraping of and look at Radio Swiss classic program

29.04.2017

Last week I published a post about scraping Radio Swiss Classic program. After that, Bob Rudis wrote an extremely useful post improving my code a lot and teaching me cool stuff. I don’t know why I forgot to add pauses between requests… Really bad behaviour! I will use his code today for re-scraping the data. Why re-scrape the data? I mentione...

5522 sym R (5583 sym/9 pcs) 6 img 3 tbl