Commit 42ac3b60 authored by Jonathan Mattingly's avatar Jonathan Mattingly
Browse files

clear up files

parent 87b7ac85
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
## This script reads in one of the multiscale map assignments
## Then it calculates the histogram of the districts containing a given precict


import Atlas
import helper_functions as hf
import json

pct21_20cen_wMCD.json

0 → 100644
+268723 −0

File added.

Preview size limit exceeded, changes collapsed.

readme.md

0 → 100644
+34 −0
Original line number Diff line number Diff line

# Atlas files
    Atlas files contain a collection of map assignments. 


## The files contained here are : 
    * Atlas.py
        This is the main Allas reader Library 

    * test.jsonl.gz
        This is a small hand made collection of map assignments for testing.
        Notice that it is compressed. The library can read compressed or uncompressed files.

    * truncated_nc_multiscale.jsonl
        This is part of a real Atlas file for testing. It is uncompressed. This file is stored in a multi-scale format which keeps counties whole if they are all assigned to the same district. 

    * pct21_20cen_wMCD.json, pct21_20cen_wMCD_updated.json
        This contains some election data and the adjacency data. The second files as some more recent election data

    * helper_functions.py 
        Some helper functions that are useful.

    * example_atlas.py
        this is an example file reading in some single scale maps

    * example_atlas_multilevel.py
        An example reading in a multi-scale assignment.

    * example_atlas_multilevel_v2.py
        this is an example 
    
    * Big ensembles used in court
        They are multi-scale and big. Path to ensemble’s atlas: 
        https://git.math.duke.edu/gitlab/gjh/ncanalysis2020/-/tree/main/ensembles/congressional