Update README.md
Browse files
README.md
CHANGED
|
@@ -43,6 +43,24 @@ Grundtvig's Works is a comprehensive digital humanities dataset containing the c
|
|
| 43 |
As a critical edition, it includes editorial commentary by philologists and is continually updated.
|
| 44 |
The project is scheduled for completion in 2030 and will comprise 1,000 individual works spanning 35,000 pages. The complete edition is freely available online.
|
| 45 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
## Dataset Details
|
| 47 |
|
| 48 |
|
|
|
|
| 43 |
As a critical edition, it includes editorial commentary by philologists and is continually updated.
|
| 44 |
The project is scheduled for completion in 2030 and will comprise 1,000 individual works spanning 35,000 pages. The complete edition is freely available online.
|
| 45 |
|
| 46 |
+
## Downloading the dataset
|
| 47 |
+
|
| 48 |
+
```py
|
| 49 |
+
# using python
|
| 50 |
+
from datasets import load_dataset
|
| 51 |
+
|
| 52 |
+
ds = load_dataset("chcaa/grundtvigs-works", split="train")
|
| 53 |
+
|
| 54 |
+
# if you want it as a pandas DataFrame:
|
| 55 |
+
df = ds.to_pandas()
|
| 56 |
+
```
|
| 57 |
+
|
| 58 |
+
Or you can download the whole repository using git, which includes XML, markdown, and raw text files:
|
| 59 |
+
|
| 60 |
+
```
|
| 61 |
+
git clone https://huggingface.co/datasets/chcaa/grundtvigs-works
|
| 62 |
+
```
|
| 63 |
+
|
| 64 |
## Dataset Details
|
| 65 |
|
| 66 |
|