<%= breadcrumbs @zcta.zipcode, active: @zcta %>

ZIP Code <%= @zcta.zipcode %>

<% if @zcta.combined_statistical_area %> <% end %> <% if @zcta.core_based_statistical_area %> <% end %> <% if @zcta.metropolitan_division %> <% end %> <% if @zcta.primary_urban_area %> <% end %>
Primary County <% if @zcta.primary_county %> <%= link_to @zcta.primary_county.full_name, county_path(@zcta.primary_county, breadcrumb_params) %> <% else %> - <% end %>
Primary Place <% if @zcta.primary_place %> <%= link_to @zcta.primary_place.full_name, place_path(@zcta.primary_place, breadcrumb_params) %> <% else %> - <% end %>
Combined Statistical Area <%= link_to @zcta.combined_statistical_area.name, combined_statistical_area_path(@zcta.combined_statistical_area, breadcrumb_params) %>
Core Based Statistical Area <%= link_to @zcta.core_based_statistical_area.name, core_based_statistical_area_path(@zcta.core_based_statistical_area, breadcrumb_params) %>
Metropolitan Division <%= link_to @zcta.metropolitan_division.name, metropolitan_division_path(@zcta.metropolitan_division, breadcrumb_params) %>
Primary Urban Area <%= link_to @zcta.primary_urban_area.name, urban_area_path(@zcta.primary_urban_area, breadcrumb_params) %>
Population <%= formatted_number(@zcta.population) %>
Population Density <%= population_density(@zcta) %>
Housing Units <%= formatted_number(@zcta.housing_units) %>
Land Area (mi2) <%= formatted_number(@zcta.land_area, round: 0) %>
Water Area (mi2) <%= formatted_number(@zcta.water_area, round: 0) %>
Coordinates <%= google_maps_link(@zcta) %>
<% if @zcta.urban_areas.size > 1 %>

<%= pluralize(@zcta.urban_areas.count, "Urban Area") %>

<%= render "urban_areas/table", urban_areas: @zcta.urban_areas, zcta: @zcta %> <% end %> <% if @zcta.counties.size > 1 %>

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

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

<%= pluralize(@zcta.county_subdivisions.count, "County Subdivision") %>

<%= render "county_subdivisions/table", county_subdivisions: @zcta.county_subdivisions, zcta: @zcta %>

<%= pluralize(@zcta.places.count, "Place") %>

<%= render "places/table", places: @zcta.places, zcta: @zcta %>