Loading example_atlas.py +11 −2 Original line number Diff line number Diff line import Atlas import json import helper_functions as hf #atlas=Atlas.openAtlas("./test.jsonl.gz") atlas = Atlas.openAtlas("./truncated_nc_multiscale.jsonl") pctDataF = open("pct21_20cen_wMCD.json") pctData = json.load(pctDataF) atlas=Atlas.openAtlas("./test.jsonl.gz") print(atlas) map=[] print("\n") Loading @@ -9,6 +16,8 @@ while map!=None: map=Atlas.nextMap(atlas) print(map) print("\n") node_to_dist = hf.get_node_to_district(map.districting, pctData["nodes"]) Loading precinctOutcomes.ipynb +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file Loading
example_atlas.py +11 −2 Original line number Diff line number Diff line import Atlas import json import helper_functions as hf #atlas=Atlas.openAtlas("./test.jsonl.gz") atlas = Atlas.openAtlas("./truncated_nc_multiscale.jsonl") pctDataF = open("pct21_20cen_wMCD.json") pctData = json.load(pctDataF) atlas=Atlas.openAtlas("./test.jsonl.gz") print(atlas) map=[] print("\n") Loading @@ -9,6 +16,8 @@ while map!=None: map=Atlas.nextMap(atlas) print(map) print("\n") node_to_dist = hf.get_node_to_district(map.districting, pctData["nodes"]) Loading
precinctOutcomes.ipynb +0 −0 File changed.Preview suppressed by a .gitattributes entry or the file's encoding is unsupported. View original file View changed file