Designed by Catherine Roberts for Inside Energy
This is a program that will take the URL of a GitHub page and the URL of a Google Sheet and insert them into the Wordpress code used for Inside Energy's "Get the data" widget.
The widget is used to make Inside Energy's data easily accessible and downloadable.
It links to a direct download of a CSV and an XLSX file, to a publicly viewable Google Sheet file of the data, and to the folder for the data in Inside Energy's Data Battery, the central data repository.
This version will handle a folder containing a README and multiple csv/xlsx pairs.
The user can input the URL of the folder in Inside Energy's Data-for-stories
folder. The program will then prompt the user to enter the corresponding Google Sheets public viewing URL, and output the widget code to paste into WordPress.
The iPython notebook in this repo is the place I am testing and writing code for the basic program and its improvements. The first version of the program can be found in input line 61. Currently the new version is at the very end of the notebook.
(for Inside Energy Reporters)
COMING SOON