fedlex
Datasets
All datasets matching “fedlex”fedlex-articles
Dataset Card for Dataset Name
This dataset card aims to be a base template for new datasets. It has been generated using this raw template.
Dataset Details
Dataset Description
Curated by: [More Information Needed]
Funded by [optional]: [More Information Needed]
Shared by [optional]: [More Information Needed]
Language(s) (NLP): [More Information Needed]
License: [More Information Needed]
Dataset Sources [optional]
Repository: [More… See the full description on the dataset page: https://huggingface.co/datasets/glards/fedlex-articles.fedlexfrom huggingface_hub import HfApi
api = HfApi()
api.upload_file(
path_or_fileobj="fedlex_dataset.csv", # local file
path_in_repo="fedlex_dataset.csv", # destination path in repo
repo_id="liechticonsulting/fedlex",
repo_type="dataset"
)
https://fedlex.data.admin.ch/en-CH/sparql?id=100
python script to generate the dataset with the latest laws in french:
import os
import json
import subprocess
import csv
import requests
from tqdm import tqdm
import… See the full description on the dataset page: https://huggingface.co/datasets/liechticonsulting/fedlex.fedlex_articlesfedlex_articles_chunks
