Class: USGeo::MicropolitanArea

Inherits:
CoreBasedStatisticalArea show all
Defined in:
lib/us_geo/micropolitan_area.rb

Overview

Core based statistical area with a population greater then 10,000 but less than 50,000.

Constant Summary

Constants inherited from BaseRecord

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

Instance Attribute Summary

Attributes inherited from CoreBasedStatisticalArea

#geoid, #name

Attributes included from Area

#land_area, #water_area

Attributes included from Population

#housing_units, #population

Attributes inherited from BaseRecord

#status, #updated_at

Instance Method Summary collapse

Methods inherited from CoreBasedStatisticalArea

load!

Methods included from Area

#land_area_km, #percent_land, #total_area, #water_area_km

Methods included from Population

#housing_density, #housing_density_km, #population_density, #population_density_km

Methods inherited from BaseRecord

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

Instance Method Details

#metropolitan?Boolean

Returns:

  • (Boolean)


6
7
8
# File 'lib/us_geo/micropolitan_area.rb', line 6

def metropolitan?
  false
end

#micropolitan?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/us_geo/micropolitan_area.rb', line 10

def micropolitan?
  true
end