Home

Awesome

Build Status DOI

Network visualization for Case Law Analytics

The visualization is shown at https://nlesc.github.io/case-law-app/.

This project was bootstrapped with Create React App.

If you use this software or the online tool, please acknowledge by citing the DOI.

Installation

Clone the github repository:

git clone https://github.com/NLeSC/case-law-app

Cd to the case-law-app directory and run:

npm install

To run the application:

npm start

To deploy the application to gh-pages (using gh-pages):

npm run deploy

Data format

It is possible to upload a json file with a network to the visualization. This json file can be created with the caselawnet Python application.

Specification

This should be the structure of the JSON file (containing one example node):

{
  "nodes":[
    {
      "id": "http://deeplink.rechtspraak.nl/uitspraak?id=ECLI:NL:HR:2000:AA5634",
      "ecli": "ECLI:NL:HR:2000:AA5634",
      "title": "ECLI:NL:HR:2000:AA5634 Hoge Raad , 28-04-2000 / C98/220HR",
      "date": "2000-04-28",
      "year": 2000,
      "abstract": "-",
      "creator": "http://standaarden.overheid.nl/owms/terms/Hoge_Raad_der_Nederlanden",
      "subject": "http://psi.rechtspraak.nl/rechtsgebied#civielRecht",
      "count_version": 5,
      "count_annotation": 2,
      "articles": ["Onteigeningswet 73"],
      "degree": 1,
      "degree_centrality": 0.0064516129032258064,
      "in_degree": 0,
      "in_degree_centrality": 0.0,
      "rel_in_degree": 0.0,
      "out_degree": 1,
      "out_degree_centrality": 0.0064516129032258064,
      "closeness_centrality": 0.012903225806451613,
      "betweenness_centrality": 0.0,
      "pagerank": 0.0038386703423328333,
      "hubs": 4.528120703550719e-97,
      "authorities": 0.0,
      "community": "1",
      "x": 0.4335141987424399,
      "y": 0.8291632847446144,
    },
    ...
  ],
  
  "links":[
    {
      "id": ..,
      "source": "http://deeplink.rechtspraak.nl/uitspraak?id=ECLI:NL:HR:2000:AA5634",
      "target": ..
    },
    ...
  ]
}

Documentation of the node attributes:

Documentation of the link attributes: