Skip to content

Commit

Permalink
more readme
Browse files Browse the repository at this point in the history
  • Loading branch information
jrising committed Jun 12, 2015
1 parent 05c1eb9 commit 2f74fa5
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,22 @@
# reag
Reaggregation process for translating historical data to current boundaries.

== Installation

Reag uses Python 2.6+, pyshp, and shapely.

Follow the instructions on https://github.com/GeospatialPython/pyshp and http://toblerity.org/shapely/project.html#installation to install these dependencies.

== Use

```
python getvalues.py <historical-shapefile> <values-csv> <values-column> <type>
```

The historical shapefile and values csv must represent the same year.
type may be SUM or AVG.

For example,
```
python getvalues.py nhgis0005_shapefile_tl2000_us_county_1950/US_county_1950 nhgis0001_ts_1950_county.csv A00AA1950 sum
```

0 comments on commit 2f74fa5

Please sign in to comment.