Class: USGeo::UrbanCluster Deprecated

Inherits:
UrbanArea show all
Defined in:
lib/us_geo/urban_cluster.rb

Overview

Deprecated.

This class will be removed in version 3.0 and only UrbanArea will be used.

Urban area with population < 50,000.

Constant Summary

Constants inherited from BaseRecord

BaseRecord::STATUS_IMPORTED, BaseRecord::STATUS_MANUAL, BaseRecord::STATUS_REMOVED

Instance Attribute Summary

Attributes included from Population

#housing_units, #population

Attributes included from Area

#land_area, #water_area

Attributes inherited from BaseRecord

#status, #updated_at

Instance Method Summary collapse

Methods inherited from UrbanArea

load!

Methods included from Population

#housing_density, #housing_density_km, #population_density, #population_density_km

Methods included from Area

#land_area_km, #percent_land, #total_area, #water_area_km

Methods inherited from BaseRecord

#imported?, load!, #manual?, #removed?

Instance Method Details

#cluster?Boolean

Returns:

  • (Boolean)


12
13
14
# File 'lib/us_geo/urban_cluster.rb', line 12

def cluster?
  true
end

#urbanized?Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/us_geo/urban_cluster.rb', line 8

def urbanized?
  false
end