Metadata-Version: 2.4
Name: extracts
Version: 0.1.0a0
Summary: Load tables, figures, and text manually extracted from published journal articles.
Author-email: Remington Mallett <mallett.remy@gmail.com>
Maintainer-email: Remington Mallett <mallett.remy@gmail.com>
Project-URL: Homepage, https://github.com/remrama/extracts
Project-URL: Documentation, https://remrama.github.io/extracts
Keywords: data,meta-analysis
Classifier: Development Status :: 3 - Alpha
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Science/Research
Classifier: Topic :: Scientific/Engineering
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Python: >=3.13
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: pandas>=2.2.3
Requires-Dist: pooch>=1.8
Requires-Dist: pyarrow>=19.0
Provides-Extra: dev
Requires-Dist: mypy>=1.12; extra == "dev"
Requires-Dist: myst-nb>=1.1; extra == "dev"
Requires-Dist: pre-commit>=3.0; extra == "dev"
Requires-Dist: pytest>=8.0; extra == "dev"
Requires-Dist: pytest-cov>=6.0; extra == "dev"
Requires-Dist: ruff>=0.6; extra == "dev"
Requires-Dist: sphinx>=7.0; extra == "dev"
Requires-Dist: sphinx-book-theme>=1.1; extra == "dev"
Dynamic: license-file

[![PyPI](https://img.shields.io/pypi/v/extracts.svg)](https://pypi.org/project/extracts)
[![Python Versions](https://img.shields.io/pypi/pyversions/extracts.svg)](https://pypi.org/project/extracts)
[![License](https://img.shields.io/pypi/l/extracts.svg)](https://github.com/remrama/extracts/blob/main/LICENSE.txt)
[![Tests](https://github.com/remrama/extracts/actions/workflows/tests.yaml/badge.svg)](https://github.com/remrama/extracts/actions/workflows/tests.yaml)
[![Coverage](https://codecov.io/gh/remrama/extracts/branch/main/graph/badge.svg)](https://codecov.io/gh/remrama/extracts)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Repo Status](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)

# extracts

Load tables, figures, and text manually extracted from published journal articles.

Documentation: [https://remrama.github.io/extracts](https://remrama.github.io/extracts)

## Installation

```shell
pip install --upgrade extracts
```

## Usage

```pycon
>>> import extracts
>>> extracts.list_available_datasets()
['barrett2020', 'cariola2010', 'cariola2014', 'hawkins2017', 'liwc1999', 'liwc2001', 'liwc2007', 'liwc2015', 'liwc22', 'mariani2023', 'mcnamara2015', 'meador2022', 'niederhoffer2017', 'paquet2020']
>>> df = extracts.fetch_barrett2020("table1")
>>> df.head()
                                      Pandemic M  Pandemic SD  Normative M  Normative SD     t          p
LIWC category and content examples
Positive emotions: love, nice, sweet        1.11         1.82         1.48          1.52  4.64  <.0001***
Negative emotions: hurt, ugly, nasty        2.31         3.32         1.40          1.47  9.14  <.0001***
Anxiety: worried, fearful, nervous          0.76         2.20         0.46          0.74  5.05  <.0001***
Anger: hate, furious, annoyed               0.42         1.32         0.31          0.64  2.66    .0078**
Sadness: crying, grief, sad                 0.46         1.37         0.27          0.63  4.55  <.0001***
```
