juliensimon commited on
Commit
18ffd3d
·
verified ·
1 Parent(s): 3e7a657

Update astronaut database: 865 astronauts

Browse files
Files changed (3) hide show
  1. README.md +62 -54
  2. banner.jpg +3 -0
  3. data/astronauts.parquet +2 -2
README.md CHANGED
@@ -3,12 +3,7 @@ license: cc0-1.0
3
  pretty_name: "Astronaut Database"
4
  language:
5
  - en
6
- description: >-
7
- Every person who has traveled to space, sourced from Wikidata.
8
- 863 astronauts from 64 countries with flight counts
9
- and time in space.
10
- size_categories:
11
- - n<1K
12
  task_categories:
13
  - tabular-classification
14
  tags:
@@ -20,64 +15,76 @@ tags:
20
  - open-data
21
  - tabular-data
22
  - parquet
 
 
23
  configs:
24
  - config_name: default
25
  data_files:
26
  - split: train
27
  path: data/astronauts.parquet
 
28
  ---
29
 
30
  # Astronaut Database
31
 
32
- *Part of the [Astronomy Datasets](https://huggingface.co/collections/juliensimon/astronomy-datasets-69c24caf2f17e36128946743) collection on Hugging Face.*
33
 
34
- Complete database of every person who has traveled to space — **863** astronauts
35
- from **64** countries, sourced from [Wikidata](https://www.wikidata.org/).
 
 
 
 
 
36
 
37
  ## Dataset description
38
 
39
- Since Yuri Gagarin's flight aboard Vostok 1 in April 1961, fewer than 700 individuals
40
- have crossed the Karman line (100 km altitude). This dataset records every one of them,
41
- from the Mercury Seven and Voskhod cosmonauts through Space Shuttle crews, ISS expeditions,
42
- and the recent wave of commercial astronauts aboard Crew Dragon and New Shepard.
 
43
 
44
- The dataset includes birth/death dates, sex, nationality, employer history (space agencies
45
- and contractors), number of spaceflights, and total time spent in space. This enables
46
- demographic analysis of astronaut corps, diversity-in-STEM research, and historical studies
47
- of human spaceflight programs.
48
 
49
- Sourced from Wikidata's structured knowledge base (property P106=Q11631 for occupation:astronaut),
50
- which is maintained by the WikiProject Spaceflight community and updated as new flights occur.
51
 
52
  ## Schema
53
 
54
- | Column | Type | Description |
55
- |--------|------|-------------|
56
- | `wikidata_id` | string | Wikidata entity ID (e.g. Q1029) |
57
- | `name` | string | Full name |
58
- | `birth_date` | string | Date of birth (YYYY-MM-DD) |
59
- | `death_date` | string | Date of death if deceased |
60
- | `sex` | string | Sex (male/female) |
61
- | `nationality` | string | Nationality |
62
- | `employers` | string | Employers, semicolon-separated (space agencies, contractors) |
63
- | `num_flights` | int | Number of spaceflights |
64
- | `time_in_space_min` | int | Total time in space (minutes) |
65
- | `birth_year` | int | Year of birth (derived) |
66
- | `time_in_space_hours` | float | Total time in space (hours, derived) |
67
 
68
  ## Quick stats
69
 
70
- - **863** astronauts from **64** countries
71
- - **733** male, **130** female
72
- - **644** with recorded spaceflights
73
  - Most flights: Fyodor Yurchikhin (12)
74
- - Top nationalities: United States (447), Soviet Union (95), Russia (89), People's Republic of China (33), Japan (17)
75
 
76
  ## Usage
77
 
78
  ```python
79
  from datasets import load_dataset
80
 
 
 
 
 
 
 
 
81
  ds = load_dataset("juliensimon/astronaut-database", split="train")
82
  df = ds.to_pandas()
83
 
@@ -95,45 +102,46 @@ print(top_time)
95
  # NASA astronauts
96
  nasa = df[df["employers"].str.contains("NASA", na=False)]
97
  print(f"{len(nasa):,} NASA-affiliated astronauts")
 
 
 
 
 
 
 
 
98
  ```
99
 
100
  ## Data source
101
 
102
- [Wikidata](https://www.wikidata.org/) SPARQL endpoint. Astronauts identified via
103
- property P106 (occupation) = Q11631 (astronaut). Data is community-curated by
104
- [WikiProject Spaceflight](https://www.wikidata.org/wiki/Wikidata:WikiProject_Spaceflight).
105
-
106
- ## Update schedule
107
-
108
- Static dataset. Re-run manually to pick up new astronauts.
109
 
110
  ## Related datasets
111
 
112
- - [launch-log](https://huggingface.co/datasets/juliensimon/launch-log) -- McDowell launch log
113
- - [satcat](https://huggingface.co/datasets/juliensimon/satcat) -- Satellite catalog
114
- - [nasa-eva](https://huggingface.co/datasets/juliensimon/nasa-eva) -- NASA EVA history
115
 
116
- ## Pipeline
117
 
118
- Source code: [juliensimon/space-datasets](https://github.com/juliensimon/space-datasets)
119
 
120
- ## Support
121
 
122
- If you find this dataset useful, please give it a ❤️ on the [dataset page](https://huggingface.co/datasets/juliensimon/astronaut-database) and share feedback in the Community tab! Also consider giving a ⭐️ to the [space-datasets](https://github.com/juliensimon/space-datasets) repo.
123
 
124
  ## Citation
125
 
126
  ```bibtex
127
  @dataset{astronaut_database,
128
- author = {Simon, Julien},
129
  title = {Astronaut Database},
 
130
  year = {2026},
131
- publisher = {Hugging Face},
132
  url = {https://huggingface.co/datasets/juliensimon/astronaut-database},
133
- note = {Sourced from Wikidata (CC0)}
134
  }
135
  ```
136
 
137
  ## License
138
 
139
- [CC0-1.0](https://creativecommons.org/publicdomain/zero/1.0/) (Wikidata content is public domain)
 
3
  pretty_name: "Astronaut Database"
4
  language:
5
  - en
6
+ description: "Complete database of every person who has traveled to space, sourced from Wikidata. Since Yuri Gagarin's flight aboard Vostok 1 in April 1961, fewer than 700 individuals have crossed the Karman line "
 
 
 
 
 
7
  task_categories:
8
  - tabular-classification
9
  tags:
 
15
  - open-data
16
  - tabular-data
17
  - parquet
18
+ size_categories:
19
+ - n<1K
20
  configs:
21
  - config_name: default
22
  data_files:
23
  - split: train
24
  path: data/astronauts.parquet
25
+ default: true
26
  ---
27
 
28
  # Astronaut Database
29
 
 
30
 
31
+ <div align="center">
32
+ <img src="banner.jpg" alt="Blue Marble — Earth from space" width="400">
33
+ <p><em>Credit: NASA/GSFC/Suomi NPP</em></p>
34
+ </div>
35
+
36
+
37
+ *Part of a [dataset collection](https://huggingface.co/collections/juliensimon/space-essentials-69cbafd7ea046a10eff11405) on Hugging Face.*
38
 
39
  ## Dataset description
40
 
41
+ Complete database of every person who has traveled to space, sourced from Wikidata.
42
+
43
+ Since Yuri Gagarin's flight aboard Vostok 1 in April 1961, fewer than 700 individuals have crossed the Karman line (100 km altitude). This dataset records every one of them, from the Mercury Seven and Voskhod cosmonauts through Space Shuttle crews, ISS expeditions, and the recent wave of commercial astronauts aboard Crew Dragon and New Shepard.
44
+
45
+ The dataset includes birth/death dates, sex, nationality, employer history (space agencies and contractors), number of spaceflights, and total time spent in space. This enables demographic analysis of astronaut corps, diversity-in-STEM research, and historical studies of human spaceflight programs.
46
 
47
+ Sourced from Wikidata's structured knowledge base (property P106=Q11631 for occupation:astronaut), which is maintained by the WikiProject Spaceflight community and updated as new flights occur.
 
 
 
48
 
49
+
50
+ This dataset is suitable for **tabular classification** tasks.
51
 
52
  ## Schema
53
 
54
+ | Column | Type | Description | Sample | Null % |
55
+ |--------|------|-------------|--------|--------|
56
+ | `wikidata_id` | str | Wikidata entity ID (e.g. 'Q1029'); resolves to https://www.wikidata.org/wiki/Q1029 — links to the astronaut's full biography, mission list, and nationality data | Q77349 | 0.0% |
57
+ | `name` | string | Full legal name as recorded in Wikidata (English transliteration for non-Latin scripts) | Abdul Ahad Mohmand | 0.0% |
58
+ | `birth_date` | str | Date of birth in ISO 8601 format (YYYY-MM-DD); null for living persons who have not disclosed their birth date or for historical records with unresolvable uncertainty | 1959-01-01 | 2.3% |
59
+ | `death_date` | str | Date of death in ISO 8601 format (YYYY-MM-DD); null for living astronauts | 2018-05-26 | 74.8% |
60
+ | `sex` | string | Recorded biological sex; values: 'male', 'female'; null if not recorded in Wikidata | male | 0.0% |
61
+ | `nationality` | string | Country of citizenship at the time of primary spaceflight career (e.g. 'United States', 'Russia'); uses full English country name; may differ from country of birth | Germany | 0.0% |
62
+ | `employers` | string | Space agencies or contractors that employed the astronaut, semicolon-separated (e.g. 'NASA; Boeing'); null if no employer is recorded in Wikidata | Japan Aerospace Exploration Agency; N... | 46.5% |
63
+ | `num_flights` | Int64 | Number of distinct spaceflights completed (each separate launch counts as one flight); 0 if the astronaut trained but never flew | 2 | 0.0% |
64
+ | `time_in_space_min` | float64 | Cumulative time spent in space across all missions, in minutes; null for astronauts with no recorded flights | 12746.0 | 21.3% |
65
+ | `birth_year` | Int64 | Integer year extracted from birth_date; enables age-group analysis when full date is unavailable; null only if birth date is entirely unknown | 1959 | 2.3% |
66
+ | `time_in_space_hours` | Float64 | Cumulative time in space in decimal hours, derived from time_in_space_min (divided by 60, rounded to 1 decimal); null for astronauts with no recorded flights | 212.4 | 21.3% |
67
 
68
  ## Quick stats
69
 
70
+ - **865** astronauts from **60** countries
71
+ - **734** male, **131** female
72
+ - **647** with recorded spaceflights
73
  - Most flights: Fyodor Yurchikhin (12)
74
+ - Top nationalities: United States (452), Russia (135), Soviet Union (49), People's Republic of China (33), Germany (17)
75
 
76
  ## Usage
77
 
78
  ```python
79
  from datasets import load_dataset
80
 
81
+ ds = load_dataset("juliensimon/astronaut-database", split="train")
82
+ df = ds.to_pandas()
83
+ ```
84
+
85
+ ```python
86
+ from datasets import load_dataset
87
+
88
  ds = load_dataset("juliensimon/astronaut-database", split="train")
89
  df = ds.to_pandas()
90
 
 
102
  # NASA astronauts
103
  nasa = df[df["employers"].str.contains("NASA", na=False)]
104
  print(f"{len(nasa):,} NASA-affiliated astronauts")
105
+
106
+ # Flight count distribution
107
+ import matplotlib.pyplot as plt
108
+ df["num_flights"].value_counts().sort_index().plot(kind="bar")
109
+ plt.xlabel("Number of Flights")
110
+ plt.ylabel("Astronauts")
111
+ plt.title("Spaceflight Count Distribution")
112
+ plt.show()
113
  ```
114
 
115
  ## Data source
116
 
117
+ https://www.wikidata.org/
 
 
 
 
 
 
118
 
119
  ## Related datasets
120
 
121
+ - [juliensimon/space-launch-log](https://huggingface.co/datasets/juliensimon/space-launch-log)
122
+
123
+ - [juliensimon/space-track-satcat](https://huggingface.co/datasets/juliensimon/space-track-satcat)
124
 
125
+ - [juliensimon/nasa-eva-chronology](https://huggingface.co/datasets/juliensimon/nasa-eva-chronology)
126
 
127
+ > If you find this dataset useful, please consider [giving it a like](https://huggingface.co/datasets/juliensimon/astronaut-database) on Hugging Face. It helps others discover it.
128
 
129
+ ## About the author
130
 
131
+ Created by [Julien Simon](https://julien.org) AI Operating Partner at Fortino Capital. Part of the [Space Datasets](https://julien.org/datasets) collection.
132
 
133
  ## Citation
134
 
135
  ```bibtex
136
  @dataset{astronaut_database,
 
137
  title = {Astronaut Database},
138
+ author = {juliensimon},
139
  year = {2026},
 
140
  url = {https://huggingface.co/datasets/juliensimon/astronaut-database},
141
+ publisher = {Hugging Face}
142
  }
143
  ```
144
 
145
  ## License
146
 
147
+ [CC0-1.0](https://creativecommons.org/licenses/by/4.0/)
banner.jpg ADDED

Git LFS Details

  • SHA256: 7b448ac0756e2890ef8c5b8201845137064abe13f4683f87ae6be6b6daa71a96
  • Pointer size: 131 Bytes
  • Size of remote file: 245 kB
data/astronauts.parquet CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:f2280e6629a55765d16aa8e41bb8c860856fa1c0b50b356f735488041a005030
3
- size 38785
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbab98db6aac00dc7850cd284714802653f79e394333dedac2b89df9f5e3937b
3
+ size 38781