9. Coffee prices data set
■ http://www.economicswebinstitute.org/ecdata.htm
■ Prices paid to growers in exporting ICO countries for
two coffee brands (Arabica and Robusta).
■ Retail price paid by consumer to commercial
distributer in importing ICO countries.
■ US cents per lb per month between 1982 and 2001.
25. Google Drive API
• One of many Google APIs
• Has a python client library
• Upload and download files
• Convert files
https://developers.google.com/drive/v3/web/quickstart/python#prerequisites
33. Google Apps Script
• Scripting language for application
development in the Google Apps platform.
• Create custom sidebars/menus in docs,
sheets and forms.
• Based on Javascript.
53. Python to report in one command?
Step 1: Google Drive
API to upload images
to Google Drive
ipynb
Google
Drive
Step 3: Run Google
Apps Script using the
Python Execution API.
json
Google
Doc
Step 2: Python script
to convert ipynb to
json.
54. What I’ve learnt and what’s next?
• Automate report writing
• Harder project that I anticipated
• Google Apps Script is very versatile
• Comments, updates/edits
• Spreadsheets