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 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 - Time series analysis - Retail data

Working with Soft drinks sales data (Section 2.3)

The images produced to analyze the time series are not standard R graphics. As such I needed to dig a little deeper to replicate them. The were two tricks required to replicate this,

  1. How to draw one plot over another.
  2. How to use the same axis definition for all three plots. (these are hard coded).

While researching this I noticed that thi=s example does not even scratch the surface of R's capabilities for handling time series. However perhaps these are covered later. Anyhow here is the image
As explained the sales figure can be seen to have a periodic element and growth element - possibly exponential. Plotting the simpler unenhanced plot side by sided requires the layout command. I may do this later, but now it is time to move on.

Further reading


Popular posts from this blog

Moodle <=< Mediawiki SUL integration - first thoughts

downloading folders from google drive.

Insight into progressive web apps