Open main menu

Changes

fix redirect, caps
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
'''Template:American Factfinder''' generates external links to [[2000 United States Census|U.S. Census 2000]] demographic data of cities, towns, counties, and states. Its primary purpose is to simplify the creation of URL links in references for population in articles. It is meant to be used both to generate stand-alone links and as a backend for [[Template:Cite American Factfinder]] for article references.

Generates a link to a PDF from http://censtats.census.gov/data/ that includes
*General population totals, age, gender, race, and number of households.
*Social characteristics, such as ethnicity, education, and marital status.
*Economic data, such as median income, poverty levels, and employment.
*Housing data, including number and type of housing units as well as home values.

Note: Template is only for the 50 U.S. states, the [[District of Columbia]] and [[Puerto Rico]]. It will not generate information for the other U.S. territories.

===Usage===
'''For links''': <nowiki>{{</nowiki>American Factfinder|''state''|''type''|''fips''|''source=age''<nowiki>}}</nowiki><br>
'''For references''': <nowiki>{{</nowiki>Cite American Factfinder|''state''|''type''|''id''|''name=''|''accessdate=''|''source=age''<nowiki>}}</nowiki>
* <code>state</code>: The two digit postal abbreviation for the state. Use '''US''' for United States, '''DC''' for District of Columbia and '''PR''' for Puerto Rico.

* <code>type</code>: Locality/Geographic Location for which data is needed. See [[#Locality Terms|Locality Terms]] below.

* <code>id</code>: The [[Federal Information Processing Standards|FIPS code]] for the location. For most areas, this is a 4 or 5 digit number preceded by the 2 digit state number. Exemptions are listed below. See [[#Finding FIPS codes|Finding FIPS Codes]] for more.
**States: 2 digit state number.
**Counties: 5 digits, state number + county number
**County subdivisions: 10 digits. state number + county number + location number.
**''Note: Some areas have multiple FIPS Codes. Be sure to use the FIPS code that corresponds to the particular geographic type you have selected, e.g. county, city, township, etc.''

====Citation====
{{tl|Cite American Factfinder}}
This uses the same parameters as above to generate a citation to the Census tables being cited and the following unique parameters.

* <code>name</code>: Name of the location you are citing. Required.
* <code>accessdate</code>: The date you accessed the data. Defaults to January 31, 2009.

===Location types===
{| class="wikitable" style="font-size:90%;" align="center"
|-
! Type
! Variables
! Notes
|-
! Nation
| USA
| For nation-level data. Use state abbreviation US and FIPS id 00
|-
! Regions
| region
| Census designated regions of the United States. Use state abbreviation US and FIPS ids R1 through R4.
|-
! Divisions
| division
| Census designated divisions of the United States. Use state abbreviation US and FIPS ids D1 through D9.
|-
! States
| State, DC, PR
| [[U.S. state]]s, including [[Washington, D.C.]] and [[Puerto Rico]]
|-
! rowspan=6| Counties
| [[Borough (United States)|borough_AK]]
| County equivalents in [[Alaska]]
|-
| [[Boroughs of New York City|borough_NY]]
| One of the 5 boroughs of [[New York City]] that are [[Wiktionary:coextensive|coextensive]] with their respective county.
|-
| census_area, CA
| Census divisions of Alaska's [[Unorganized Borough]]
|-
| [[County (United States)|county]], cty, ind_city
| All U.S. States except Alaska and Louisiana. Includes [[Independent city (United States)|Independent Cities]].
|-
| [[municipio]]
| Municipalities in [[Puerto Rico]]. County equivalent.
|-
| parish
| County equivalent in [[Louisiana]]
|-
! rowspan=3 |County subdivisions
| place
| Independent places that are also county subdivisions. Not to be confused with [[Independent city (United States)|Independent city]], which is a county-level equivalent.
|-
| town_NE
| Towns in [[New England]], such as [[New Hampshire]]
|-
| township, twp, charter_twp
| Used in 20 U.S. states. See [[Township (United States)#Census statistics|Township (United States)]]. Charter_twp can be used for [[charter township]]s in [[Michigan]].
|-
! rowspan=5 |Places
| borough
| Certain incorporated cities in New England, [[Borough (New Jersey)|New Jersey]], and Pennsylvania.
|-
| CDP
| [[Census designated place]].
|-
| city, town, village
| Incorporated and unincorporated places in the United States. Includes [[Independent city (United States)|Independent Cities]] and Independent Places. Town is not to be confused with [[Town (New England)]].
|-
| comunidad, zona_urbana, ZU
| Incorporated and unincorporated places in [[Puerto Rico]].
|-
| con_city
| [[Consolidated city-county#Balances|Consolidated cities]] in [[Connecticut]], [[Georgia (U.S. state)|Georgia]], [[Indiana]], [[Montana]], and [[Tennessee]] only. For other city-county governments ([[City and County of Denver]], [[City and County of San Francisco]], etc.) use either '''County''' or '''City'''.
|-
! rowspan=4|American Indian/Alaska Native Lands
| tribe, reservation, nation
| [[Native Americans in the United States|American Indian]] [[American Indian reservation|reservation]]s or other tribal lands in the [[contiguous United States]].
|-
| ANRC
| [[Alaska Native Regional Corporation]]s. Use in conjunction with state code ''AK''.
|-
| reserve, village_AK
| [[Alaska Native]] Villages and Reserves. Use in conjunction with state code ''AK''.
|-
| native_HI
| [[Native Hawaiian]] Home Lands. Use in conjunction with state code ''HI''.
|-
!|Statistical areas
| metro, MSA
| [[Metropolitan statistical area]]s. Includes Consolidated MSAs and Primary MSAs.
|}

===Examples===
{| class="wikitable"
|-
! Region!! Input/Output
|-
| United States||[{{American Factfinder|US|USA|00}} <nowiki>{{American Factfinder|US|USA|00}}</nowiki>]
|-
| West Region||[{{American Factfinder|US|region|R4}} <nowiki>{{American Factfinder|US|region|R4}}</nowiki>]
|-
| Mountain Division||[{{American Factfinder|US|division|D8}} <nowiki>{{American Factfinder|US|division|D8}}</nowiki>]
|-
| North Dakota||[{{American Factfinder|ND|state|38}} <nowiki>{{American Factfinder|ND|state|38}}</nowiki>]
|-
| Fort Berthold Reservation||[{{American Factfinder|ND|reservation|381160}} <nowiki>{{American Factfinder|US|reservation|381160}}</nowiki>]
|-
| Bismarck Metro Area||[{{American Factfinder|ND|MSA|381010}} <nowiki>{{American Factfinder|ND|MSA|381010}}</nowiki>]
|-
| Burleigh County||[{{American Factfinder|ND|county|38015}} <nowiki>{{American Factfinder|ND|county|38015}}</nowiki>]
|-
| Hay Creek Township||[{{American Factfinder|ND|twp|3801536460}} <nowiki>{{American Factfinder|ND|twp|3801536460}}</nowiki>]
|-
| Bismarck, North Dakota||[{{American Factfinder|ND|city|3807200}} <nowiki>{{American Factfinder|ND|city|3807200}}
</nowiki>]
|-
|}

Citations
*<nowiki>{{Cite American Factfinder|ND|city|3807200}}</nowiki>
{{Cite American Factfinder|ND|city|3807200|name=Bismarck, North Dakota}}

===Finding FIPS codes===
* The [[U.S. Environmental Protection Agency]] lists [http://www.epa.gov/enviro/html/codes/state.html state and county FIPS Codes here].
* The Missouri Census Data Center also has complied a [http://mcdc2.missouri.edu/webrepts/commoncodes/ master list] of state, county, city, and other location FIPS codes.
* Search the [http://geonames.usgs.gov/pls/gnispublic Geographic Names Information System] lists codes for individual locations. Given as "Census Code."
* Individual Wikipedia articles often list the FIPS code in the article's infobox.

===Related templates===
*{{tl|American Factfinder2}} for land area and population density.
*{{tl|Cite American Factfinder2}} citation template
*{{tl|American Factfinder3}} Detailed, individual [http://factfinder.census.gov American Factfinder] tables, including tables for geographic areas not available with the main template.
*{{tl|Cite American Factfinder3}} citation template

===See also===
*[[American FactFinder]]
<includeonly><!--
++++ PLEASE ADD CATEGORIES AND INTERWIKIS BELOW THIS LINE, THANK YOU. -->

[[Category:Specific-source templates|American Factfinder]]
[[Category:United States government external link templates|American Factfinder]]
</includeonly>
Anonymous user