Skip to content

Releases: adsabs/ADSJournalsDB

Adds delete bibstem to run.py command line options

08 May 21:09
fa95000
Compare
Choose a tag to compare

If the user wants to delete a bibstem, you not only have to delete the bibstem from master, but also delete records from auxiliary tables (names, idents, etc) with the same masterid.

This code adds the -ds STEM option to run.py so that the user can delete a bibstem via the command line in the journalsdb container.

  • It will take all records from auxiliary tables (like idents, abbrevs, whatever), write them to table_hist, and then delete them
  • It will then copy the master record for STEM to master_hist, and then delete it from master

You will get error messages if:

  • the bibstem you type on the command line is not an EXACT lexical match to a bibstem in journals.master, including capitalization; you will be given a suggested bibstem if there's a case-insensitive match, but it won't delete it.
  • you have ANY tables checked out (master, idents, etc). You MUST check in all tables before running this command.

Modifies export to bibstems.dat

17 Apr 20:26
0182c5d
Compare
Choose a tag to compare

This update corrects the logic when exporting bibstems.dat; when the master data are exported to bibstems.dat, refereed conference proceedings will now be marked with pubtype R rather than C.

Export ISSN-identifier file for ADSIngestEnrichment/ADSManualParser

21 Feb 21:30
2431ace
Compare
Choose a tag to compare

This update expands the ISSN exports to create a file with all ISSN identifiers from the idents table, not just the print ISSNs exported to issn2journal and journal2issn for classic backoffice's use. The issn_identifiers file is read by ADSManualParser. When manual parser attempts to create a bibcode from a parsed record; it obtains the bibstem for the bibcode by looking up the issn in a dict generated by loading this file.

The export task has also been updated so that updates to either master or idents will trigger an export; previously only master updates did this (to update bibstems.dat).

Export mapping of bibstem to publisher for ADSExports

19 Dec 15:25
27bef14
Compare
Choose a tag to compare

Adds code to the --dump-classic/-dc option to export a formatted output file with:

  • first row: integer, number of lines in the file
  • second and subsequent rows: two-column, tab-separated lines with bibstem in column 1 and publisher abbreviation in column 2.

The code uses a multitable join to extract bibstem from master, publisher abbreviation from publisher, and the mapping itself from tablehistory joined via master.masterid and publisher.publisherid

Add publisher info to issn return body

06 Nov 22:12
2467d84
Compare
Choose a tag to compare

When the user makes a query to the /issn endpoint, the return body will now include the publisher key. If the journals database has an entry for the publisher, its abbreviation will be returned (e.g. IOP).

API fix for 500 errors in Holdings queries

11 May 17:01
1c81367
Compare
Choose a tag to compare
Merge pull request #55 from seasidesparrow/api_fix_2023May11

fix: catch missing esource fields in Holdings search

ISSN search endpoint added to journals API

20 Mar 19:46
d523e43
Compare
Choose a tag to compare

Adds the ability to search the journals database on a user-supplied ISSN to return the ADS bibstem and Journal name if available.

Finishes integration of completeness data

12 Jan 14:45
0d4c5ba
Compare
Choose a tag to compare
  • moves completeness_details from TitleHistory to Master
  • adds task to tasks.py to load json report exported from ADSCompStat
  • minor code cleanup for consistency & readability

Added columns for completeness statistics

20 Oct 10:11
b51904b
Compare
Choose a tag to compare
  • adds support for completeness data to master and titlehistory tables
  • renames Publisher.pubname to .pubabbrev, and adds .pubfullname column

Features: revert a checked-in edit, cancel a checkout, and cancel all checkouts

03 Oct 12:15
e5e9232
Compare
Choose a tag to compare
Merge pull request #45 from seasidesparrow/revert_editid

Revert editid