felixludos commited on
Commit
70f069e
1 Parent(s): 86ad111

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +154 -3
README.md CHANGED
@@ -1,3 +1,154 @@
1
- ---
2
- license: cc-by-nc-sa-4.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Babel Briefings News Headlines Dataset README
2
+
3
+ > Break Free from the Language Barrier
4
+
5
+ Version: 1 - Date: 30 Oct 2023
6
+
7
+ Collected and Prepared by Felix Leeb (Max Planck Institute for Intelligent Systems, Tübingen, Germany)
8
+
9
+ License: Babel Briefings Headlines Dataset © 2023 by Felix Leeb is licensed under [CC BY-NC-SA 4.0](http://creativecommons.org/licenses/by-nc-sa/4.0/)
10
+
11
+ This dataset contains 4,719,199 news headlines across 30 different languages collected between 8 August 2020 and 29 November 2021. The headlines were collected using the [News API](https://newsapi.org/) by collecting the top headlines (usually about 30-70 articles) separately for each combination of the 54 locations x 7 categories almost every day. Note, that the same article may occur more than once across different locations, categories, or dates (which is recorded in the `instances` property), so in total 7,419,089 instances were collected.
12
+
13
+ For non-English articles, the article data is translated to English using Google Translate (see `en-title`, `en-description`, and `en-content` properties).
14
+
15
+ The dataset is provided in the form of 54 JSON files, one for each location containing the all the unique headlines that appeared for the first time in the corresponding location. Each headline is represented as a JSON object with the following properties:
16
+
17
+ - `ID`: (integer) a unique ID for each article
18
+ - `title`: (string) the headline text in the original language
19
+ - `description`: (string) the article description in the original language
20
+ - `content`: (string) the first few words of the article in the original language
21
+ - `author`: (string) the author of the article
22
+ - `source-id`: (string) the news aggregator (e.g. Google-News)
23
+ - `source-name`: (string) usually the domain of the source where the article was published
24
+ - `url`: (string) the URL of the article
25
+ - `urlToImage`: (string) the URL to an image associated with the article
26
+ - `publishedAt`: (date) the article was published
27
+ - `instances`: (list) specific time and place where this article was posted. Each element contains:
28
+ - `collectedAt`: (date) date and time when the article was collected
29
+ - `category`: (string) of the article from 7 possible values (see below for full list)
30
+ - `location`: (string) of the article from 54 possible values (see below for full list)
31
+ - `language`: (string) ISO-639 2-letter code for the language (inferred from location)
32
+ - `en-title`: (string) the headline text translated to English (if necessary)
33
+ - `en-description`: (string) the article description text translated to English (if necessary)
34
+ - `en-content`: (string) the first few words of the article translated to English (if necessary)
35
+
36
+
37
+ ## Notes
38
+
39
+ - Unfortunately, due to an issue with News API, the `content` of articles originally in a non-latin based script (e.g. Chinese, Arabic, Japanese, Greek, Russian, etc.) are usually not available. However, for the most part all other articles should have a meaningful `content` property, and the `title` and `descriptions` appear unaffected.
40
+ - All properties except `language`, `en-title`, `en-description`, and `en-content` are taken directly from the News API responses. The language is inferred from the location, and the English translations are collected using Google Translate.
41
+
42
+
43
+ ## Statistics
44
+
45
+ Here are a few basic summary statistics about the dataset.
46
+
47
+ ### Articles by Language
48
+
49
+ | Code | Language | Articles | Locations |
50
+ |--------|------------|------------|----------------------------------------------------|
51
+ | en | English | 1128233 | au, ca, gb, ie, in, my, ng, nz, ph, sa, sg, us, za |
52
+ | es | Spanish | 455952 | ar, co, cu, mx, ve |
53
+ | fr | French | 288328 | be, fr, ma |
54
+ | zh | Chinese | 270887 | cn, hk, tw |
55
+ | de | German | 259718 | at, ch, de |
56
+ | pt | Portuguese | 243829 | br, pt |
57
+ | ar | Arabic | 178854 | ae, eg |
58
+ | id | Indonesian | 131252 | id |
59
+ | it | Italian | 129005 | it |
60
+ | tr | Turkish | 122724 | tr |
61
+ | el | Greek | 119940 | gr |
62
+ | ja | Japanese | 118475 | jp |
63
+ | pl | Polish | 116904 | pl |
64
+ | ru | Russian | 113395 | ru |
65
+ | nl | Dutch | 104031 | nl |
66
+ | th | Thai | 90708 | th |
67
+ | sv | Swedish | 86838 | se |
68
+ | ko | Korean | 83090 | kr |
69
+ | sr | Serbian | 80040 | rs |
70
+ | hu | Hungarian | 73509 | hu |
71
+ | cs | Czech | 70647 | cz |
72
+ | he | Hebrew | 67794 | il |
73
+ | bg | Bulgarian | 67223 | bg |
74
+ | uk | Ukrainian | 65610 | ua |
75
+ | ro | Romanian | 54601 | ro |
76
+ | no | Norwegian | 46804 | no |
77
+ | sk | Slovak | 43057 | sk |
78
+ | lv | Latvian | 40006 | lv |
79
+ | lt | Lithuanian | 34719 | lt |
80
+ | sl | Slovenian | 33026 | si |
81
+
82
+ ### Instances by category
83
+
84
+ | Category | Instances |
85
+ |---------------|-------------|
86
+ | sports | 1132542 |
87
+ | entertainment | 982479 |
88
+ | business | 840748 |
89
+ | technology | 802933 |
90
+ | general | 704692 |
91
+ | health | 424188 |
92
+ | science | 388281 |
93
+
94
+ ### Instances by location
95
+
96
+ | Code | Location | Instances |
97
+ |--------|----------------------|-------------|
98
+ | ae | United Arab Emirates | 214256 |
99
+ | ar | Argentina | 159139 |
100
+ | ph | Philippines | 155365 |
101
+ | ng | Nigeria | 155112 |
102
+ | in | India | 145536 |
103
+ | us | United States | 144800 |
104
+ | ca | Canada | 143928 |
105
+ | sa | Saudi Arabia | 143382 |
106
+ | cu | Cuba | 138675 |
107
+ | au | Australia | 138408 |
108
+ | br | Brazil | 136101 |
109
+ | ma | Morocco | 131974 |
110
+ | id | Indonesia | 131252 |
111
+ | eg | Egypt | 129382 |
112
+ | it | Italy | 129005 |
113
+ | gb | United Kingdom | 127391 |
114
+ | ie | Ireland | 126640 |
115
+ | mx | Mexico | 124499 |
116
+ | tr | Turkey | 122724 |
117
+ | gr | Greece | 119940 |
118
+ | de | Germany | 119917 |
119
+ | jp | Japan | 118475 |
120
+ | za | South Africa | 117351 |
121
+ | fr | France | 117210 |
122
+ | pl | Poland | 116904 |
123
+ | pt | Portugal | 115976 |
124
+ | co | Colombia | 115325 |
125
+ | my | Malaysia | 115223 |
126
+ | ru | Russian Federation | 113395 |
127
+ | at | Austria | 111867 |
128
+ | nz | New Zealand | 108809 |
129
+ | tw | Taiwan | 108652 |
130
+ | nl | Netherlands | 104031 |
131
+ | sg | Singapore | 101251 |
132
+ | be | Belgium | 99460 |
133
+ | cn | China | 91561 |
134
+ | ve | Venezuela | 91045 |
135
+ | th | Thailand | 90708 |
136
+ | se | Sweden | 86838 |
137
+ | kr | Korea | 83090 |
138
+ | hk | Hong Kong | 83051 |
139
+ | rs | Serbia | 80040 |
140
+ | hu | Hungary | 73509 |
141
+ | cz | Czechia | 70647 |
142
+ | ch | Switzerland | 68846 |
143
+ | il | Israel | 67794 |
144
+ | bg | Bulgaria | 67223 |
145
+ | ua | Ukraine | 65610 |
146
+ | ro | Romania | 54601 |
147
+ | no | Norway | 46804 |
148
+ | sk | Slovakia | 43057 |
149
+ | lv | Latvia | 40006 |
150
+ | lt | Lithuania | 34719 |
151
+ | si | Slovenia | 33026 |
152
+
153
+
154
+