File size: 2,587 Bytes
004b2c0
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
license: apache-2.0
task_categories:
- text-classification
- summarization
- text-generation
language:
- en
tags:
- scrapy
- pandas
- datasets
size_categories:
- n<1K
---

# List of Countries and Dependencies by Population

This dataset contains population-related information for countries and dependencies, scraped from Wikipedia. The dataset includes the following columns:

1. **Location**: The country or dependency name.
2. **Population**: Total population count.
3. **% of World**: The percentage of the world's population this country or dependency represents.
4. **Date**: The date of the population estimate.
5. **Source**: Whether the source is official or derived from the United Nations.

---

## Dataset Summary

This dataset provides a comprehensive overview of population statistics by country and dependency. It is ideal for researchers, data scientists, and analysts who need accurate and up-to-date population data.

### Dataset Features:
- **Location**: Textual description of the country or territory.
- **Population**: Integer value representing the population size.
- **% of World**: Float representing the percentage of the world's total population.
- **Date**: The date on which the population estimate was recorded.
- **Source**: A textual description of the data source (e.g., United Nations or official national statistics).

---

### Source

The dataset was scraped from the Wikipedia page: [List of countries and dependencies by population](https://en.wikipedia.org/wiki/List_of_countries_and_dependencies_by_population).

### Licensing
This dataset is based on data available under the [Creative Commons Attribution-ShareAlike License](https://en.wikipedia.org/wiki/Wikipedia:Text_of_Creative_Commons_Attribution-ShareAlike_3.0_Unported_License).

---

## Splits

The dataset has one split:
- `train`: Contains all records from the table (approximately 200 entries).

---

## Examples

Here's a sample record from the dataset:

| Location        | Population  | % of World | Date       | Source                   |
|-----------------|-------------|------------|------------|--------------------------|
| China           | 1,411,778,724 | 17.82%     | 2023-01-01 | Official national data   |
| India           | 1,393,409,038 | 17.59%     | 2023-01-01 | United Nations estimate  |
| Tuvalu          | 11,931       | 0.00015%   | 2023-01-01 | United Nations estimate  |

---

###  Usage

You can load this dataset using the Hugging Face `datasets` library:

```python
from datasets import load_dataset

dataset = load_dataset("username/dataset_name")
```