Skip to main content

Retraction Watch Database Importer

This Airflow script imports the Retraction Watch database into the annotations system of the Crossref Labs API.

license activity

Airflow AWS Linux Python

Input Format

The script expects an S3 folder that contains CSV files with Retraction Watch data.

The CSV file should have the headings (with this capitalization):

  • DOI
  • RetractionDOI
  • Reason
  • RetractionNature
  • Notes
  • URLS

The first row of the CSV should be the headings. Multiple entries are possible (e.g. an expression of concern and a retraction), but only one type of each, for each DOI, will be imported. (I.e. you cannot have two retractions or two expressions of concern.)

Idempotency

The script is idempotent. If you run it multiple times, it will only import new data and the results should be the same after multiple runs.

Archiving

After processing a JSON input file, the script will move it to an archive folder in the same S3 bucket.

Periodic Runs and Missing Input Files

The script is designed to be run periodically. If it does not find any input files, it will raise an exception. This is by design.

© Crossref 2023

Metadata

Release files for retraction-watch-import 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for retraction-watch-import 0.0.4
File Size Uploaded
retraction_watch_import-0.0.4.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for retraction-watch-import 0.0.4
File Interpreter ABI Platform
retraction_watch_import-0.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 15.8 kB

Release files / retraction_watch_import-0.0.4.tar.gz

Download URL retraction_watch_import-0.0.4.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
436878bcf2ae1ed2825538143883278ef0a1136b1ac3e50bfae0df09447dc71f
BLAKE2b-256 checksum
How to use checksums
0ba91955a4097f36d4a667d2b5b37c8c197e0793f85ff6fb4f07064c1cdde953
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release files / retraction_watch_import-0.0.4-py3-none-any.whl

Download URL retraction_watch_import-0.0.4-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2af73dc486c550ac5e276bbb093b6d6ee7a2382ba9614cb9c003c12d422988c3
BLAKE2b-256 checksum
How to use checksums
2a3ae5a2ab63e8bc89dbbe5c335d99774c8f4c4fd8382e06af4e5674d0eac06a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.0.4 This release

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page