Update README.md
Browse files
README.md
CHANGED
|
@@ -35,4 +35,24 @@ article_titles - List of article titles (separated by |)
|
|
| 35 |
fek Government - Gazette Issue (FEK) string
|
| 36 |
fek_search_url - Generated search URL for ET.gr
|
| 37 |
fek_url - PDF Direct download link for the original PDF
|
| 38 |
-
topics - Thematic classification tags (separated by |)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 35 |
fek Government - Gazette Issue (FEK) string
|
| 36 |
fek_search_url - Generated search URL for ET.gr
|
| 37 |
fek_url - PDF Direct download link for the original PDF
|
| 38 |
+
topics - Thematic classification tags (separated by |)
|
| 39 |
+
|
| 40 |
+
# How to download the data
|
| 41 |
+
|
| 42 |
+
Use the provided download_script.py to pull the data to your local machine. This ensures the directory structure is preserved and only the necessary files are downloaded.
|
| 43 |
+
|
| 44 |
+
### Prerequisites
|
| 45 |
+
|
| 46 |
+
Ensure you have the huggingface_hub library installed:
|
| 47 |
+
|
| 48 |
+
pip install huggingface_hub
|
| 49 |
+
|
| 50 |
+
### Usage
|
| 51 |
+
|
| 52 |
+
Run the following command in your terminal to download the files/ folder and the dataset_metadata.csv:
|
| 53 |
+
|
| 54 |
+
python download_script.py
|
| 55 |
+
|
| 56 |
+
The script will create a local directory named greek_legal_data (or your chosen path) containing:
|
| 57 |
+
dataset_metadata.csv: The central index for all legal documents.
|
| 58 |
+
files/: A folder containing the raw .txt files corresponding to the metadata.
|