Skip to content

neurogeriatricskiel/LitExtract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LitExtract

This repository contains scripts for automated literature retrieval, data extraction, and visualization of preprocessing trends in mobile EEG research. It supports the analysis conducted for the paper: “Preprocessing on the Move: An Overview of Preprocessing Pipelines in Gait-related Mobile EEG”

Installation

Use poetry for dependency management and environment setup

Suggested workflow

The scripts folder contains codes to retreive and filter articles from PubMed, extract the methods section as .txt files and store them in your local PC for data extraction. These files can be parsed for parameters of interest using Elicit Pro, an AI literature review tool. The workflow to download articles is as follows,

graph TD;
  A[retrieve_articles.py] -->|Fetches articles relevant to keywords from PubMed| B[filter_researcharticles.py];
  B -->|Filters research articles| C[extractmethods.py];
  C -->|Extracts methodology sections| D[methods.txt];

%% Styling for better visualization %%
  style A fill:#f9ebae,stroke:#333,stroke-width:2px;
  style B fill:#b3e5fc,stroke:#333,stroke-width:2px;
  style C fill:#c8e6c9,stroke:#333,stroke-width:2px;
  style D fill:#ffccbc,stroke:#333,stroke-width:2px;
Loading

Prompting

To extract parameters from selected articles in Elicit Pro, the prompts are saved in utils/prompts.txt

Data cleaning and preprocessing

Once the data from Elicit is extracted and doenloaded as a CSV file, the output is checked manually for errors and inconsistencies. The reviewed file is present in data folder. In order to further clean and obtain distinct dataframes, use, scripts/clean_elicitdatacsv.py

This script:

Data visualization

The scripts to generate data visualization plots in the manuscript can be found in the scripts folder and the generated plots are present in the plots folder.

Authors

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •