← All datasets

Astronauts

869 astronauts and cosmonauts from every spacefaring nation, one row per person, combining two open sources. Wikidata (CC0) is the spine, every real human with the occupation astronaut: name, country of citizenship, sex, birth and death year, living or deceased status, total time in space, and a fame proxy (Wikidata sitelink count). The US government contributes NASA's astronaut biographical identifier, which Wikidata records as property P2030, flagging the 369 NASA astronauts and carrying the ID for their official NASA.gov biography. Oleg Kononenko leads all humans with about 1,110 days in space, and the United States, the Soviet Union and Russia account for most of the corps, with China and Japan close behind. Total time in space is stored in Wikidata with mixed units (minutes, seconds, hours, days) and is normalized here to days; fictional astronauts such as Buzz Lightyear are filtered out by requiring a real person. Distinct from the Human Spaceflights topic, which is flight-level. Open to analysis of who flies longest, how the corps has grown and diversified, and the gap between the superpowers and newer space programs. Nine acceptance tests, one enforcing the 25 percent fill rule on every column.
869 rows 1 file last pulled 2026-11-03
Source: Wikidata
Where would you start?
Pick a question, or ask your own and answer it; publish what you find as an insight. The same question can carry many insights from different angles.
  • Which countries' astronauts average the most days in space?
  • How has the astronaut corps diversified by selection decade?
  • Who accumulated the most spaceflight time per mission flown?
Astronauts 869 rows × 11 columns
AstronautCountrySexBirth_YearDeath_YearStatusTime_In_Space_DaysNASA_AstronautNASA_Bio_IDWikidata_SitelinksWikidata_ID

Questions and answers

What is the Astronauts dataset?

869 astronauts and cosmonauts from every spacefaring nation, one row per person, combining two open sources. Wikidata (CC0) is the spine, every real human with the occupation astronaut: name, country of citizenship, sex, birth and death year, living or deceased status, total time in space, and a fame proxy (Wikidata sitelink count). The US government contributes NASA's astronaut biographical identifier, which Wikidata records as property P2030, flagging the 369 NASA astronauts and carrying the ID for their official NASA.gov biography. Oleg Kononenko leads all humans with about 1,110 days in space, and the United States, the Soviet Union and Russia account for most of the corps, with China and Japan close behind. Total time in space is stored in Wikidata with mixed units (minutes, seconds, hours, days) and is normalized here to days; fictional astronauts such as Buzz Lightyear are filtered out by requiring a real person. Distinct from the Human Spaceflights topic, which is flight-level. Open to analysis of who flies longest, how the corps has grown and diversified, and the gap between the superpowers and newer space programs. Nine acceptance tests, one enforcing the 25 percent fill rule on every column.

How big is the Astronauts dataset?

869 rows in one CSV file, with 11 columns in total: Astronaut, Country, Sex, Birth_Year, Death_Year, Status, Time_In_Space_Days, NASA_Astronaut, NASA_Bio_ID, Wikidata_Sitelinks, Wikidata_ID.

Where does the data come from?

It is built by programmatically scraping wikidata.org, last pulled on 2026-11-03. Datasets are versioned; older versions stay downloadable.

Is the dataset free to download?

Yes. Every CodeSights dataset is completely free as a CSV download; a free account is all it takes. Anyone can preview the data without signing in.

Can I see the code that built this dataset?

Yes. The exact Python scraper that built it is viewable on the dataset page by any signed-in member, so every number is reproducible.

Can the data contain errors?

Automated scraping leaves room for error and the underlying sources change over time, so no version is guaranteed accurate or complete. If a number matters, verify it against the original source.

Browse every free dataset on CodeSights