http://censtats.census.gov/data/{{{state}}}/{{{type}}}{{{id}}}.pdf
Template:American Factfinder generates external links to 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
editFor links: {{American Factfinder|state|type|fips|source=age}}
For references: {{Cite American Factfinder|state|type|id|name=|accessdate=|source=age}}
state
: The two digit postal abbreviation for the state. Use US for United States, DC for District of Columbia and PR for Puerto Rico.
type
: Locality/Geographic Location for which data is needed. See Locality Terms below.
id
: The 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 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
edit{{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.
name
: Name of the location you are citing. Required.accessdate
: The date you accessed the data. Defaults to January 31, 2009.
Location types
editType | 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. states, including Washington, D.C. and Puerto Rico |
Counties | borough_AK | County equivalents in Alaska |
borough_NY | One of the 5 boroughs of New York City that are coextensive with their respective county. | |
census_area, CA | Census divisions of Alaska's Unorganized Borough | |
county, cty, ind_city | All U.S. States except Alaska and Louisiana. Includes Independent Cities. | |
municipio | Municipalities in Puerto Rico. County equivalent. | |
parish | County equivalent in Louisiana | |
County subdivisions | place | Independent places that are also county subdivisions. Not to be confused with 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). Charter_twp can be used for charter townships in Michigan. | |
Places | borough | Certain incorporated cities in New England, New Jersey, and Pennsylvania. |
CDP | Census designated place. | |
city, town, village | Incorporated and unincorporated places in the United States. Includes 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 cities in Connecticut, 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. | |
American Indian/Alaska Native Lands | tribe, reservation, nation | American Indian reservations or other tribal lands in the contiguous United States. |
ANRC | Alaska Native Regional Corporations. 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 areas. Includes Consolidated MSAs and Primary MSAs. |
Examples
editRegion | Input/Output |
---|---|
United States | {{American Factfinder|US|USA|00}} |
West Region | {{American Factfinder|US|region|R4}} |
Mountain Division | {{American Factfinder|US|division|D8}} |
North Dakota | {{American Factfinder|ND|state|38}} |
Fort Berthold Reservation | {{American Factfinder|US|reservation|381160}} |
Bismarck Metro Area | {{American Factfinder|ND|MSA|381010}} |
Burleigh County | {{American Factfinder|ND|county|38015}} |
Hay Creek Township | {{American Factfinder|ND|twp|3801536460}} |
Bismarck, North Dakota | {{American Factfinder|ND|city|3807200}} |
Citations
- {{Cite American Factfinder|ND|city|3807200}}
U.S. Census Bureau. Census 2000. "Census Demographic Profiles, Bismarck, North Dakota" (PDF). CenStats Databases. Retrieved 2009-01-31.[dead link]
Finding FIPS codes
edit- The U.S. Environmental Protection Agency lists state and county FIPS Codes here.
- The Missouri Census Data Center also has complied a master list of state, county, city, and other location FIPS codes.
- Search the 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
edit- {{American Factfinder2}} for land area and population density.
- {{Cite American Factfinder2}} citation template
- {{American Factfinder3}} Detailed, individual American Factfinder tables, including tables for geographic areas not available with the main template.
- {{Cite American Factfinder3}} citation template