R Twitter devices

Analyze Twitter Devices with R

Hello everybody!

Today I write about a short but pretty interesting topic. It is about analyzing which devices the Twitter users use and show them in a pie chart.

First of all, like always, we have to go through the authentification process I described here.

But then the fun can begin.

Getting the data

We start with searching on Twitter for Tweets containing a certain keyword. For my example I used “Social Media”.

Analyze Twitter Devices with R

We now have our tweets and just have to get the information about the source out of them. It is like searching for a string.

devices <- sapply(tweets, function(x) x$getStatusSource())

Sometimes you can see interesting trends in the use of devices or maybe with a lot of luck you can find a new and unknown device.

Have fun!

Devices used

Julian Hillebrand

During my time at university and learning about the basics of economics I started heavily exploring the possibilities and changes caused by digital disruptions and the process of digital transformation, whereby I focused on the importance of data and data analytics and combination with marketing and management.
My personal focus of interest lies heavily on technology, digital marketing and data analytics. I made early acquaintance with programming and digital technology and never stop being interested in following the newest innovations.

I am an open, communicative and curious person. I enjoy writing, blogging and speaking about technology.