You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This repository a number of tools to read in and manipulate Atlas files. The primary code is written in the Julia programming language, but it can be used in Python as well. The Python library can only read Atlas files, it cannot write them. The Julia library can read and write Atlas files.
6
+
This repository contains a number of tools to read in and manipulate Atlas files. The primary code is written in the Julia programming language, but it can be used in Python as well. The Python library can only read Atlas files, it cannot write them. The Julia library can read and write Atlas files.
7
7
8
8
## Atlas files
9
9
@@ -38,7 +38,7 @@ LICENSE
38
38
```
39
39
## The files contained here are :
40
40
* README.md :
41
-
This file. It contains a description of the repository and how to use it.
41
+
This file contains a description of the repository and how to use it.
42
42
* atlas_format.md :
43
43
This file contains a description of the Atlas file format. It describes the JSONL format and the different fields in the JSON objects.
44
44
* LICENSE :
@@ -54,15 +54,15 @@ LICENSE
54
54
- test.jsonl :
55
55
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.
56
56
- atlas_measureID.jsonl.gz :
57
-
This is a large collection of map assignments for testing. Notice that it is compressed. The library can read compressed or uncompressed files. These multi-scale assignments come from code which try to preserve the different levels. This ensembles was used in NC 2021 court case. More info can be found in the [original repos](https://git.math.duke.edu/gitlab/gjh/ncanalysis2020/-/tree/main/ensembles/congressional)
57
+
This is a large collection of map assignments for testing. Notice that it is compressed. The library can read compressed or uncompressed files. These multi-scale assignments come from code which try to preserve the different levels. This ensembles was used in a North Carolina 2021 court case. More info can be found in the [original repos](https://git.math.duke.edu/gitlab/gjh/ncanalysis2020/-/tree/main/ensembles/congressional).
58
58
* PythonReader Directory : This directory contains python code to read Atlas files and analyze them.
59
59
- Atlas.py :
60
60
This is the main Atlas reader Library. It is a python version of the Julia library. It can read compressed or uncompressed files. It can not write an Atlas file presently. Use the Julia library to write an Atlas file.
61
61
- helper_functions.py :
62
62
Some helper functions that are useful. Examples include summing elections, performing uniform swings and obtaining the node name to district mapping. See the file for full list and description.
63
63
64
64
* Shapefiles_JSON Directory :
65
-
This contains some election data and the adjacency data. Some files are in JSON files others are in ziped shapefiles.
65
+
This contains some election data and the adjacency data. Some files are in JSON files and others are in zipped shapefiles.
66
66
67
67
* PythonExamples Directory :
68
68
This directory contains some examples of how to use the Atlas reader library.
0 commit comments