Skip to main content

No project description provided

Project description

Juridecomposer

The Juridecomposer package can be used to transform Dutch laws structured as .xml files into pandas dataframes. Input laws can be retrieved from wetten.nl.

Example usage

from juridecomposer.juridecomposer import xml_to_dataframe
output_dataframe = xml_to_dataframe("path/to/law/xml")

The output dataframe will consist of the following columns:

  • Brontekst: raw extracted text;
  • Nummer: specifies the chapter (hoofdstuk) number;
  • Lid: specificies the section (afdeling) number;
  • Opsomming niveau 1: specifies the article (artikel) number;
  • Opsomming niveau 2: specifies the component (onderdeel) number;
  • Opsomming niveau 3: specifies the second component (onderdeel) number, if available;
  • Versie: specifies the version number;
  • jc 1.3: permanent link to specific section.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

juridecomposer-0.4.11.tar.gz (242.7 kB view hashes)

Uploaded Source

Built Distribution

juridecomposer-0.4.11-py3-none-any.whl (250.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page