<%= breadcrumbs @metropolitan_division.name, active: @metropolitan_division %>

<%= @metropolitan_division.name %>

<% if @metropolitan_division.combined_statistical_area %> <% end %> <% if @metropolitan_division.core_based_statistical_area %> <% end %>
GEOID <%= @metropolitan_division.geoid %>
Combined Statistical Area <%= link_to @metropolitan_division.combined_statistical_area.name, combined_statistical_area_path(@metropolitan_division.combined_statistical_area) %>
Core Based Statistical Area <%= link_to @metropolitan_division.core_based_statistical_area.name, core_based_statistical_area_path(@metropolitan_division.core_based_statistical_area) %>
Population <%= formatted_number(@metropolitan_division.population) %>
Housing Units <%= formatted_number(@metropolitan_division.housing_units) %>
Land Area (mi2) <%= formatted_number(@metropolitan_division.land_area, round: 0) %>
Water Area (mi2) <%= formatted_number(@metropolitan_division.water_area, round: 0) %>

<%= pluralize(@metropolitan_division.counties.count, "County") %>

<%= render "counties/table", counties: @metropolitan_division.counties, metropolitan_division: @metropolitan_division %>