Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
10.9k
94.5k
slug
stringlengths
5
14
Montgomery is the capital city of the U.S. state of Alabama and the county seat of Montgomery County. It was named for Continental Army Major-General Richard Montgomery and stands beside the Alabama River on the Gulf Coastal Plain. The population was 200,603 at the 2020 census. It is the fourth-most populous city in th...
montgomery
Juneau ( JOO-noh; Tlingit: Dzántik'i Héeni [ˈtsʌ́ntʰɪ̀kʼɪ̀ ˈhíːnɪ̀] transl. Base of the Flounder's River), officially the City and Borough of Juneau, is the capital of the U.S. state of Alaska, located along the Gastineau Channel in Southeast Alaska. Juneau was named the capital of Alaska in 1906, when the government ...
juneau
Phoenix ( FEE-niks) is the capital and most populous city of the U.S. state of Arizona. With over 1.6 million residents at the 2020 census, Phoenix is the fifth-most populous city in the United States and the most populous state capital. The Phoenix metropolitan area, with an estimated 5.19 million residents, is the t...
phoenix
Little Rock is the capital and most populous city of the U.S. state of Arkansas. The population was 202,591 at the 2020 census, while the Little Rock metropolitan area with an estimated 770,000 residents is the 81st-most populous metropolitan area in the United States. The city lies on the south bank of the Arkansas Ri...
little_rock
"Sacramento is the capital city of the U.S. state of California. The county seat of Sacramento Count(...TRUNCATED)
sacramento
"Denver ( DEN-vər) is the capital and most populous city of the U.S. state of Colorado. Officiall(...TRUNCATED)
denver
"Hartford is the capital city of the U.S. state of Connecticut. The city, located in Hartford County(...TRUNCATED)
hartford
"Dover ( DOH-vər) is the capital and the second-most populous city of the U.S. state of Delaware, a(...TRUNCATED)
dover
"Tallahassee () is the capital city of the U.S. state of Florida. It is the county seat of and only (...TRUNCATED)
tallahassee
"Atlanta is the capital and most populous city of the U.S. state of Georgia. It is the county seat o(...TRUNCATED)
atlanta
End of preview. Expand in Data Studio

Dataset Card for US State Capitals (Wikipedia)

Wikipedia plain-text extracts for all 50 US state capital cities.

Dataset Details

  • Language: English
  • License: CC BY-SA 4.0 (Wikipedia text)
  • Source: English Wikipedia (plain-text extracts)
  • Rows: 50

Dataset Description

One row per capital city with text (full English Wikipedia plain-text extract) and slug (filesystem-safe place identifier). Useful for language modeling, retrieval, and geography-focused NLP.

Dataset Structure

One row per place. Single split: train.

Field Type Description
text string Full Wikipedia plain-text extract for the place
slug string Filesystem-safe place identifier

Example

from datasets import load_dataset

ds = load_dataset("codycollier/geo-us-cities-capitals")
row = ds["train"][0]
print(row["slug"], len(row["text"]))

Licensing Information

Text content originates from Wikipedia and remains under the Creative Commons Attribution-ShareAlike License. See Wikipedia:Copyrights.

Downloads last month
32