No description or website provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
LICENSE
README.md
data.json
out-2017-12-30.sql
out-2018-02-01.sql
proc.py

README.md

Templeton foundation

Steps to get the data

This repo already has the required data.json, but we describe the steps to get this in case we need to get new data.

In Google Chrome, go to https://templeton.org/grants/grant-database.

Now open the developer tools with Ctrl-Shift-I, and enter the following two lines in the console:

var otable = jQuery('#grants-table').dataTable();
console.log(JSON.stringify(otable.fnGetData()));

This will print a JSON dump of all the grants data. This will work as long as Templeton keeps using DataTables to render the data.

Then right click and "save as" data.json. You want to clean up the typed text and prompt and stuff so it's just the JSON.