Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make tool for creating subset of SoftCite by list of DOIs #14

Open
willbeason opened this issue Oct 14, 2024 · 1 comment
Open

Make tool for creating subset of SoftCite by list of DOIs #14

willbeason opened this issue Oct 14, 2024 · 1 comment
Assignees

Comments

@willbeason
Copy link
Member

Workflow: Given a list of DOIs, output the subset of data for those papers

Input format:

  • Newline-delimited list of strings representing DOIs

Output format:

  • JSONL or Parquet tables (initially just .jsonl.gz)

Internal logic requirements:

  • Translate DOIs in various forms to 10.NNNN.N format. Match against those as there's no guarantee of the specific format we'll get
  • Support common valid DOI formats (URL, doi:, 10.NNNN.N, so on) - particuarly any seen in the dataset

New components:

  • Add command for list of DOIs -> UUIDs
  • Add command for list of UUIDs -> subset of data

Should keep DOI -> UUID and UUIDs -> subset commands separate so other ways of cutting the data are possible later. Overhead for keeping this separate should be minimal.

@willbeason willbeason self-assigned this Oct 14, 2024
@willbeason
Copy link
Member Author

Intermediate format should probably be newline-delimited UUID strings. Worst case is a result file of ~828 MB (uncompressed), and best case for a binary format is ~351 MB (uncompressed) so format optimization is unnecessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant