Giter Site home page Giter Site logo

danielsaggau / measuring-law-over-time Goto Github PK

View Code? Open in Web Editor NEW

This project forked from quantlaw/measuring-law-over-time

0.0 0.0 0.0 20.85 MB

Paper and data analysis for "Measuring Law Over Time: A network analytical framework and an application to statutes and regulations in the United States and Germany"

Python 1.95% TeX 19.51% Jupyter Notebook 78.39% Shell 0.15%

measuring-law-over-time's Introduction

Measuring Law Over Time

Paper and data analysis for "Measuring Law Over Time: A network analytical framework and an application to statutes and regulations in the United States and Germany"

Corinna Coupette, Janis Beckedorf, Dirk Hartung, Michael Bommarito, and Daniel Martin Katz, Measuring Law Over Time, Frontiers in Physics, 2021, https://www.frontiersin.org/articles/10.3389/fphy.2021.658463.

Structure

  • analysis: python code to prepare the input data for the graphics and tables presented in the paper
  • graphics: graphics and tables presented in the paper; to get the tables into paper-shape, run prettify_tables.py in this folder
  • notebooks: jupyter notebooks generating all graphics (and some of the tables) presented in the paper
  • results: data for the micro-level connectivity and profiles sections that would otherwise clutter up the graphics folder
  • supplements: manually edited supplementary material (law name lists for the German profile case study and cluster family labels)
  • writing: the source code of the paper, including a figures folder composing paper figures and tables from the graphics folder

Reproducing the Paper Results

  1. It is assumed that you have Python 3.7 installed. (Other versions are not tested.)
  2. Set up a virtual environment and activate it. (This is not required but recommended.)
  3. Download the data at https://doi.org/10.5281/zenodo.4660133, extract it, so that legal-networks-data is next to the folder of this repository and has the subfolders de, us, and us_reg. Their subfolders must be manually extracted, if needed to run the analysis.
  4. Run run_analysis_and_notebooks.sh to install the requirements and run the code.
  5. The results are available in this folder writing.

Related Work

Daniel Martin Katz, Corinna Coupette, Janis Beckedorf, and Dirk Hartung, Complex Societies and the Growth of the Law, Sci. Rep. 10 (2020), https://doi.org/10.1038/s41598-020-73623-x

Related Repositories:

Related Data: Preprocessed Input Data for Sci. Rep. 10 (2020)

measuring-law-over-time's People

Contributors

beckedorf avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.