Posts

Showing posts with the label Github

Using R with Shiny

Image
Lately I've been studying Shiny and how to use in R. It's a cool arsenal to have while using R as you can really quickly develop a data product right from R itself. Of course you could say load the data up in tools like Tableau or Qlik Sense are have a much cooler/sexier visualisation - but that's not the point I'm trying to bring here. For a quick preview of what I managed to conjure up with Shiny, pop over to Social Network  . Couldn't help it - it just had to be a network graph - again :P. A real sucker for graphs I am. Anyways, what it aims to demonstrate are how from a social network graph like that, you can derive the centralities (degree, closeness etc) and from there - the roles of each nodes based on how they are connected to each other. I'll not be making the claim that it's correct in any way - it's just something that I've picked up from Drew Conway, based on his presentation on Socio-Terrorism . For more details - check ou...

Learning R using Swirl

Swirl is an R package that turns your R console into an interactive learning environment. From the readme file of the Swirl github : This is a collection of interactive courses for use with the  swirl R package . You'll find instructions for installing courses further down on this page. Some courses are still in development and we'd love to hear any  suggestions  you have as you work through them. The github contains a few ready made courses that use can use to learn R while also learning about other data science related subjects. Current available courses in the repository are: 1. Exploratory Data Analysis 2. Getting and Cleaning Data 3. Mathematical Biostatistics 4. R Programming 5. Regression Models 6. Statistical Models 7. Overview of Statistics 8. Data Analysis Most of them are based on John Hopkins Data Science Specialization Coursera online course. So even if you have not registered to the course - you could still learn about those topics on your own...

Google Places API - Part 2

A follow up from my previous post . After some digging and experimentation, was finally able to come up with a way to mass search coordinates of a specific location type (i.e shopping malls across KL). Basically there are a couple of services that you could use, depending on the output that you want. More on that here . So based on the guide, I know that what I need would probably be more or less covered with Radar and Nearby - since I basically need the coordinates and on a mass scale. In essence (since the full description is available on their website and I'd rather not overcomplicate things) the Radar Search service can give you up to 200 search results at a go, given a coordinate to start with. Sounds good - yes. So I gave the example a go. But they can only give you the coordinates in the result list - without the name of the place. You also get a place id for each those coordinate, but I somehow wasn't able to use that id and retrieve the place's name - so I sup...