This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var width = 700, | |
height = 800, | |
centered; | |
var projection = d3.geoMercator() | |
var svg = d3.select("div#chart1").append("svg") | |
.attr("width", width) | |
.attr("height", height); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests as r | |
def org_code(q=None, org_type=None, exact=False): | |
payload = {'q': q} | |
if org_type: | |
payload['org_type'] = org_type | |
return openp_action('bnf_code', payload) | |
def org_details(type='ccg', specific=None): | |
"""Returns a list of Dicts - each is an org""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv | |
myfile = "Path/To/WDI_Data.csv" | |
data = {} | |
t = list(range(1960, 2016)) | |
years = [] | |
for item in t: | |
years += [str(item)] | |
temp = [] |