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

APA reprinted citations cause SQL error 1241 #9

Open
pjcraig opened this issue Mar 24, 2015 · 2 comments
Open

APA reprinted citations cause SQL error 1241 #9

pjcraig opened this issue Mar 24, 2015 · 2 comments

Comments

@pjcraig
Copy link
Contributor

pjcraig commented Mar 24, 2015

The parser detects two citations in reprinted citations. We're currently excepting this but we need to fix it.

Rough solution: Split the original print from the string and reappend it to the raw once the main citation has been parsed. This should go in the note field as well.

@pjcraig
Copy link
Contributor Author

pjcraig commented Mar 24, 2015

Currently generic parser errors are excepted.

@colinallen
Copy link

Thinking about this, I think we are likely to run into two kinds of reprint citations --

  1. XYZ (date1). Reprinted as ABC (date2).
  2. ABC (date2). Reprint of XYZ (date1)

Ideally, we want separate entries in the database for XYZ (date1) and ABC (date2), as well as a pointer between them.

Rough procedure:

  • Split on /reprint/
  • parse left and right sides and create or merge existing records for both
  • where date2>date1, add pointer to date2 record that date2 publication is a reprint of date1
  • flag ambiguous cases (date1 = date2) for human review

Subject to discussion/refinement, of course!

On 24.03.2015, at 10:28, Patrick Craig <[email protected]mailto:[email protected]> wrote:

The parser detects two citations in reprinted citations. We're currently excepting this but we need to fix it.

Rough solution: Split the original print from the string and reappend it to the raw once the main citation has been parsed. This should go in the note field as well.


Reply to this email directly or view it on GitHubhttps://github.com//issues/9.

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

2 participants