Spaces:
Sleeping
Sleeping
Create dataset_collection.py
Browse files- dataset_collection.py +13 -0
dataset_collection.py
ADDED
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
def collect_datasets():
|
2 |
+
datasets = [
|
3 |
+
{"name": "Customer Support Chat Data", "url": "https://www.kaggle.com/datasets/customer-support-chat"},
|
4 |
+
{"name": "Operational Metrics Dataset", "url": "https://huggingface.co/datasets/operations-metrics"},
|
5 |
+
{"name": "Supply Chain Transparency Dataset", "url": "https://github.com/datasets/supply-chain"}
|
6 |
+
]
|
7 |
+
|
8 |
+
resource_file = 'resources.md'
|
9 |
+
with open(resource_file, 'w') as f:
|
10 |
+
f.write("# Resource Links\n\n")
|
11 |
+
for dataset in datasets:
|
12 |
+
f.write(f"- [{dataset['name']}]({dataset['url']})\n")
|
13 |
+
return resource_file
|