-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||
``` |