]> gitweb.michael.orlitzky.com - dead/census-tools.git/log
dead/census-tools.git
15 years agoAdded an additional Block class test which checks that all Maryland Geo Blocks have...
Michael Orlitzky [Sat, 12 Sep 2009 15:05:46 +0000 (11:05 -0400)]
Added an additional Block class test which checks that all Maryland Geo Blocks have a population_density() which can be converted to a float.

15 years agoAdded the is_float() method to the StringUtils module.
Michael Orlitzky [Sat, 12 Sep 2009 15:00:27 +0000 (11:00 -0400)]
Added the is_float() method to the StringUtils module.

15 years agoAdded state, county, and tract fields to the Block class.
Michael Orlitzky [Sat, 12 Sep 2009 14:55:14 +0000 (10:55 -0400)]
Added state, county, and tract fields to the Block class.
Renamed the other Block attributes to follow the GeoRecord/Tiger naming convention.
Updated any tests/methods that depended on the Block attribute names.
Throw an error from within the Block class if the "block" attribute is non-integral.

15 years agoAdded the StringUtils module with the is_integer() function.
Michael Orlitzky [Sat, 12 Sep 2009 14:48:25 +0000 (10:48 -0400)]
Added the StringUtils module with the is_integer() function.
Imported StringUtils into SummaryFile1.
Removed the InvalidAreaError, since we need to accept areas of zero.

15 years agoUppercased GeoRecord.MINIMUM_LINE_LENGTH in accordance with PEP 8: http://python...
Michael Orlitzky [Fri, 11 Sep 2009 05:20:47 +0000 (01:20 -0400)]
Uppercased GeoRecord.MINIMUM_LINE_LENGTH in accordance with PEP 8: http://python.org/dev/peps/pep-0008/.

15 years agoAdded the 2008 Tiger/Line shapefile technical documentation.
Michael Orlitzky [Thu, 10 Sep 2009 04:59:19 +0000 (00:59 -0400)]
Added the 2008 Tiger/Line shapefile technical documentation.

15 years agoAdded an InvalidAreaError class.
Michael Orlitzky [Thu, 10 Sep 2009 04:57:39 +0000 (00:57 -0400)]
Added an InvalidAreaError class.
Caused the Block class to raise an InvalidAreaError when its total area is zero.

15 years agoInitial commit.
Michael Orlitzky [Wed, 9 Sep 2009 03:25:03 +0000 (23:25 -0400)]
Initial commit.