Blog Archives

Using R to solve old solitaire

January 22, 2020
By
Using R to solve old solitaire

There is an old solitaire I started to play when I was in high school, when classes became too boring. I don’t know if it has a name or if I invited it ex nihilo. These are the rules: It begins with an empty 10x10 matrix Write a 1 where ever you want To write the next number you have to leave two...

Read more »

How tennis has changed over time

August 27, 2019
By
How tennis has changed over time

During the last years I have become a huge fan of tennis (both, on court and in TV). This year I followed (in TV) with attention Roland Garros and Wimbledon. Although clay and grass are very different surfaces I’ve found the game very similar. What happened with the serve-volley game? I think it is my duty (as data freak) to...

Read more »

Are pollen forecast good enough?

February 13, 2019
By
Are pollen forecast good enough?

Introduction Maybe some of you (in my huge audience) have the bad luck of being allergic to pollen like myself. Since mid-January to the end of June I have to live very close to my antihistamines. Here in Madrid where I live health authorities issue newsletters (by email) with observations and forecast. Although the service has some deficiencies (like not being...

Read more »

Developing a package to analyze data of the hospital morbidity survey

October 19, 2018
By
Developing a package to analyze data of the hospital morbidity survey

Introduction This post is going to be the most ambitious one so far. Months ago I decided to develope a R package from scratch to learn a little about the process. So I dug up some code I wrote and I got to the work. And of course, for a job like that you want to work properly so I...

Read more »

Text mining in R. A different approach to The Iliad

October 15, 2018
By
Text mining in R. A different approach to The Iliad

Introduction This project is an attempt to get familiarity with text mining in R and I haven’t found a better way to get it that mining The Iliad. This familiarity with text mining can be very useful because “much of the data proliferating today is unstructured and text-heavy.”1 I’ve chosen the tidytext 2 approach to text minig in order to test...

Read more »

One tweet leads to some R work about births

October 4, 2018
By
One tweet leads to some R work about births

This new post was born because of my curiosity about this tweet: Italy 1960-2014: Big drop in annual number of births, big increase in ages of mothers. #Italy #fertility pic.twitter.com/QGT0AnA3IU — Carl Schmertmann (@CSchmert) 7 de febrero de 2018 Sometimes you just feel the urge to recreate some data analysis that you find interesting. Im my case I used data from Spain...

Read more »

Funny facts about borrowed stuff in Madrid public libraries

October 2, 2018
By

As a regular user of Madrid public libraries I’m glad of having found data about borrowed stuff. So let’s take a look at it and answer a couple of questions. Miguel de Cervantes Prize is one of the most richest literary prizes and the most prestigious of the prizes to writers in spanish. So, what’s the impact in the popularity of...

Read more »

Scrapping BOE in search of post election designations

September 25, 2018
By
Scrapping BOE in search of post election designations

Anyone with little contact with spanish adminstration, or just with interest in politics, knows that after a major change in the party ruling the goverment goes an important amount of dessignations in the highest levels of administration. I want to quantify this by counting the dessignations and cessations published in BOE (Official State Gazette) with R. suppressPackageStartupMessages(library(XML)) suppressPackageStartupMessages(library(ggplot2)) suppressPackageStartupMessages(library(dplyr)) CuentaNombramientos

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)