Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 2.77 KB

readme.md

File metadata and controls

42 lines (32 loc) · 2.77 KB

The Journal of Law and Society in context - a bibliometric analysis

DOI

This repository contains code and generated figures for the following publications:

The graphs and figures are also published in high resolution at https://cboulanger.github.io/jls-bibliometry .

The data for the queries in the notebooks were obtained by querying the Web of Science and OpenAlex databases as well as by automatic citation extraction from the full texts of the Journal of Law and Society. The data of citation extraction is partially erroneous and incomplete due to the current deficiencies automated extraction. However, these errors should be evenly distributed. Therefore, results that do not concern individual values but express larger trends, are expected be generally reliable.

The scripts in this repository were written with coding assistance from https://chat.openai.com using GPT-4.

Requirements & Configuration

  • You'll need a Neo4J server >= v4.4
  • For the Jupyter Notebook, you neet install the required python modules (either through conda or pip): py2neo python-dotenv pandas pyvis nltk mplcursors tqdm langdetect langcodes language_data matplotlib
  • In order to generate screenshots from the interactive HTML visualizations, you need to install the Playwright library: https://playwright.dev/python/docs/intro
  • Rename .env.dist and adapt the values to fit your local environment
  • For the corpus analyses, run the following code once:
    import nltk
    nltk.download('stopwords')
    nltk.download('punkt')
    

Data