In my professional life, I manage and analyze data on a team that studies the social networks surounding children with autism. The purpose of this post is not to discuss that work in depth, but rather to show how to quickly and easily import one type of data I work with into R. For social network analysis, I use the package igraph. The type of data I’m going to talk about iporting today is egocentric network data.
In my last post I showed how using the package httr, You can access the RateBeer API to get information about beers made by a brewery. When I left off, I showed a problem - the API only shows 10 beers at a time. Today, I’m going to show how we can get more beers at once. After that, I’m going to show how we can use the API, rvest, and purrr to get beers from all the brewers around me.
A few months ago, I was talking with a friend of mine about the idea for this blog and how I wanted to use data science to explore beer. He suggested that I use the blog as well as beer to learn something new about where I live. So I ask, what can beer teach me about Philadelphia? The first thing I need? Data! Oddly enough, it’s actually pretty challenging to get access to high quality, current beer data.
On the left hand side of this page (or when you click the “About” button), I start with one sentence that gets at why I do many things I do. I love going on adventures and I love learning from data. I think that to adventure means to do much more than to go an exotic locale. To me, an adventure is to find myself somewhere I’ve never been. Sometimes, adventure takes me to the top of yosemite falls, to my local climbing gym, or even around the block.
- NEWER POSTS
- page 2 of 2