Posts

Showing posts with the label map

downloading folders from google drive.

I wanted to download some course material on RL shared by the author via Google drive using the command line.  I got a bunch of stuff using wget a folder in google drive was a challenge. I looked it up in SO which gave me a hint but no solution. I installed gdown using pip and then used: gdown --folder --continue https://drive.google.com/drive/folders/1V9jAShWpccLvByv5S1DuOzo6GVvzd4LV if there are more than 50 files you need to use --remaining-ok and only get the first 50. In such a case its best to download using the folder using the UI and decompress locally. Decompressing from the command line created errors related to unicode but using the mac UI I decompressed without a glitch.

Business analytics - plotting Geo-tagged data

Image
In this section the challenge is to explore data comparing digital and traditional media options. The digital media is priced differently from the print. I think that this is not the clearest visualization in the world. But it made for a great learning experience. To create the geographic plot I used the map package together with ggplot2  which is based on by + Leland Wilkinson's  book The Grammar of Graphics . I had read the book in 2007, but found it disappointing that the system had been used only in a propitiatory format. However ggplot2  brought this powerful idea into the opensource world or R. After researching a number of options I eventually decided using ggplot2 . I preferred it since it ended up reducing the code to simple and clean form. As you can see I've improved the documentation format to include loading and installation of required packages. Geo-Tagged sales (digital are in red paper are black) I...

Popular posts from this blog

downloading folders from google drive.

Random Thoughts on Linear Regressions

SQL - Selection v.s. Projection