Skip to content
Permalink
Browse files

Fix data mismatch (zotero#1324)

* Fix data mismatch A-C
* Fix single character tags in EM
This solves zotero#1323.
* Fix data mismatch D-I
  • Loading branch information...
zuphilip authored and adam3smith committed Jun 9, 2017
1 parent 95103c6 commit 9b979874e08a8346d9fb4a9cf9d8f268ca8a13ef
@@ -216,7 +216,7 @@ var testCases = [
"creatorType": "author"
}
],
"date": "2016/08",
"date": "2016/09",
"DOI": "10.1257/jep.30.3.235",
"ISSN": "0895-3309",
"abstractNote": "We can imagine a plausible case for government support of science based on traditional economic reasons of externalities and public goods. Yet when it comes to government support of grants from the National Science Foundation (NSF) for economic research, our sense is that many economists avoid critical questions, skimp on analysis, and move straight to advocacy. In this essay, we take a more skeptical attitude toward the efforts of the NSF to subsidize economic research. We offer two main sets of arguments. First, a key question is not whether NSF funding is justified relative to laissez-faire, but rather, what is the marginal value of NSF funding given already existing government and nongovernment support for economic research? Second, we consider whether NSF funding might more productively be shifted in various directions that remain within the legal and traditional purview of the NSF. Such alternative focuses might include data availability, prizes rather than grants, broader dissemination of economic insights, and more. Given these critiques, we suggest some possible ways in which the pattern of NSF funding, and the arguments for such funding, might be improved.",
@@ -549,6 +549,7 @@ var testCases = [
],
"date": "1948",
"abstractNote": "The author's intent is to write about abnormal people in a way that will be valuable and interesting to students new to the subject. A first course in abnormal psychology is not intended to train specialists. Its goal is more general: it should provide the student with the opportunity to whet his interest, expand his horizons, register a certain body of new facts, and relate this to the rest of his knowledge about mankind. I have tried to present the subject in such a way as to emphasize its usefulness to all students of human nature. I have tried the experiment of writing two introductory chapters, one historical and the other clinical. This reflects my desire to set the subject-matter in a broad perspective and at the same time to anchor it in concrete fact. Next comes a block of six chapters designed to set forth the topics of maladjustment and neurosis. The two chapters on psychotherapy complete the more purely psychological or developmental part of the work. In the final chapter the problem of disordered personalities is allowed to expand to its full social dimensions. Treatment, care, and prevention call for social effort and social organization. I have sought to show some of the lines, both professional and nonprofessional, along which this effort can be expended.",
"extra": "DOI: 10.1037/10023-000\nDOI: 10.1037/10023-000",
"libraryCatalog": "APA PsycNET",
"numPages": "617",
"place": "New York, NY, US",
@@ -586,6 +587,7 @@ var testCases = [
],
"date": "1948",
"abstractNote": "The author's intent is to write about abnormal people in a way that will be valuable and interesting to students new to the subject. A first course in abnormal psychology is not intended to train specialists. Its goal is more general: it should provide the student with the opportunity to whet his interest, expand his horizons, register a certain body of new facts, and relate this to the rest of his knowledge about mankind. I have tried to present the subject in such a way as to emphasize its usefulness to all students of human nature. I have tried the experiment of writing two introductory chapters, one historical and the other clinical. This reflects my desire to set the subject-matter in a broad perspective and at the same time to anchor it in concrete fact. Next comes a block of six chapters designed to set forth the topics of maladjustment and neurosis. The two chapters on psychotherapy complete the more purely psychological or developmental part of the work. In the final chapter the problem of disordered personalities is allowed to expand to its full social dimensions. Treatment, care, and prevention call for social effort and social organization. I have sought to show some of the lines, both professional and nonprofessional, along which this effort can be expended.",
"extra": "DOI: 10.1037/10023-000\nDOI: 10.1037/10023-000",
"libraryCatalog": "APA PsycNET",
"numPages": "617",
"place": "New York, NY, US",
@@ -623,6 +625,7 @@ var testCases = [
"date": "1948",
"abstractNote": "This chapter examines some representative examples of disordered personalities. The reader should be forewarned that the five cases described here will be frequently referred to in later chapters of the book. They display to advantage many of the problems and principles that will occupy us when we undertake to build up a systematic account of abnormal psychology. It will be assumed that the cases given in this chapter are well remembered, and with this in mind the reader should not only go through them but study and compare them rather carefully. The main varieties of disordered personalities and student attitudes toward abnormality are discussed before the case histories are presented.",
"bookTitle": "The abnormal personality: A textbook",
"extra": "DOI: 10.1037/10023-002\nDOI: 10.1037/10023-002",
"libraryCatalog": "APA PsycNET",
"pages": "54-101",
"place": "New York, NY, US",
@@ -733,11 +736,12 @@ var testCases = [
"ISBN": "9781433808616 9781433808623",
"abstractNote": "In this chapter, I seek to redress vocational psychology’s inattention to the self and address the ambiguity of the meaning of self. To begin, I offer a chronological survey of vocational psychology’s three main views of human singularity. During succeeding historical eras, different aspects of human singularity interested vocational psychologists, so they developed a new set of terms and concepts to deal with shifts in the meaning of individuality. Over time, vocational psychology developed what Kuhn (2000) referred to as language communities, each with its own paradigm for understanding the self and vocational behavior. Because the self is fundamentally ambiguous, adherents to each paradigm describe it with an agreed on language and metaphors. Thus, each paradigm has a textual tradition, or way of talking about the self. As readers shall see, when they talk about individuals, differentialists use the language of personality, developmentalists use the language of personhood, and constructionists use the language of identity.",
"bookTitle": "Developing self in work and career: Concepts, cases, and contexts",
"extra": "DOI: 10.1037/12348-002\nDOI: 10.1037/12348-002",
"libraryCatalog": "APA PsycNET",
"pages": "17-33",
"place": "Washington, DC, US",
"publisher": "American Psychological Association",
"rights": "(c) 2016 APA, all rights reserved",
"rights": "(c) 2017 APA, all rights reserved",
"shortTitle": "The self in vocational psychology",
"attachments": [
{
24 APS.js
@@ -169,7 +169,7 @@ function cleanMath(str) {
var testCases = [
{
"type": "web",
"url": "http://journals.aps.org/prd/abstract/10.1103/PhysRevD.84.077701",
"url": "https://journals.aps.org/prd/abstract/10.1103/PhysRevD.84.077701",
"items": [
{
"itemType": "journalArticle",
@@ -194,7 +194,7 @@ var testCases = [
"libraryCatalog": "APS",
"pages": "077701",
"publicationTitle": "Physical Review D",
"url": "http://link.aps.org/doi/10.1103/PhysRevD.84.077701",
"url": "https://link.aps.org/doi/10.1103/PhysRevD.84.077701",
"volume": "84",
"attachments": [
{
@@ -213,17 +213,17 @@ var testCases = [
},
{
"type": "web",
"url": "http://journals.aps.org/prd/issues/84/7",
"url": "https://journals.aps.org/prd/issues/84/7",
"items": "multiple"
},
{
"type": "web",
"url": "http://journals.aps.org/search/results?sort=relevance&clauses=%5B%7B%22operator%22:%22AND%22,%22field%22:%22all%22,%22value%22:%22test%22%7D%5D",
"url": "https://journals.aps.org/search/results?sort=relevance&clauses=%5B%7B%22operator%22:%22AND%22,%22field%22:%22all%22,%22value%22:%22test%22%7D%5D",
"items": "multiple"
},
{
"type": "web",
"url": "http://journals.aps.org/prl/abstract/10.1103/PhysRevLett.114.098105",
"url": "https://journals.aps.org/prl/abstract/10.1103/PhysRevLett.114.098105",
"items": [
{
"itemType": "journalArticle",
@@ -268,7 +268,7 @@ var testCases = [
"libraryCatalog": "APS",
"pages": "098105",
"publicationTitle": "Physical Review Letters",
"url": "http://link.aps.org/doi/10.1103/PhysRevLett.114.098105",
"url": "https://link.aps.org/doi/10.1103/PhysRevLett.114.098105",
"volume": "114",
"attachments": [
{
@@ -287,7 +287,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://journals.aps.org/prx/supplemental/10.1103/PhysRevX.5.011029",
"url": "https://journals.aps.org/prx/supplemental/10.1103/PhysRevX.5.011029",
"items": [
{
"itemType": "journalArticle",
@@ -327,7 +327,7 @@ var testCases = [
"libraryCatalog": "APS",
"pages": "011029",
"publicationTitle": "Physical Review X",
"url": "http://link.aps.org/doi/10.1103/PhysRevX.5.011029",
"url": "https://link.aps.org/doi/10.1103/PhysRevX.5.011029",
"volume": "5",
"attachments": [
{
@@ -346,7 +346,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://journals.aps.org/prx/references/10.1103/PhysRevX.5.011029",
"url": "https://journals.aps.org/prx/references/10.1103/PhysRevX.5.011029",
"items": [
{
"itemType": "journalArticle",
@@ -386,7 +386,7 @@ var testCases = [
"libraryCatalog": "APS",
"pages": "011029",
"publicationTitle": "Physical Review X",
"url": "http://link.aps.org/doi/10.1103/PhysRevX.5.011029",
"url": "https://link.aps.org/doi/10.1103/PhysRevX.5.011029",
"volume": "5",
"attachments": [
{
@@ -405,7 +405,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://journals.aps.org/prx/cited-by/10.1103/PhysRevX.5.011003",
"url": "https://journals.aps.org/prx/cited-by/10.1103/PhysRevX.5.011003",
"items": [
{
"itemType": "journalArticle",
@@ -445,7 +445,7 @@ var testCases = [
"libraryCatalog": "APS",
"pages": "011003",
"publicationTitle": "Physical Review X",
"url": "http://link.aps.org/doi/10.1103/PhysRevX.5.011003",
"url": "https://link.aps.org/doi/10.1103/PhysRevX.5.011003",
"volume": "5",
"attachments": [
{
@@ -221,7 +221,7 @@ var testCases = [
"libraryCatalog": "Access Medicine",
"place": "New York, NY",
"publisher": "McGraw-Hill Education",
"url": "http://mhmedical.com/content.aspx?aid=1105680244",
"url": "accessemergencymedicine.mhmedical.com/content.aspx?aid=1105680244",
"attachments": [
{
"title": "Snapshot"
@@ -323,7 +323,7 @@ var testCases = [
"libraryCatalog": "Access Medicine",
"place": "New York, NY",
"publisher": "McGraw-Hill Education",
"url": "http://mhmedical.com/content.aspx?aid=1117754305",
"url": "accessmedicine.mhmedical.com/content.aspx?aid=1117754305",
"attachments": [
{
"title": "Snapshot"
@@ -340,4 +340,4 @@ var testCases = [
]
}
]
/** END TEST CASES **/
/** END TEST CASES **/
@@ -74,7 +74,7 @@ var testCases = [
"creatorType": "author"
}
],
"date": "2011-10-17T22:24:01-0400",
"date": "2011-10-18T02:24:01+0000",
"libraryCatalog": "AllAfrica",
"publicationTitle": "Institute for Security Studies (Tshwane/Pretoria)",
"shortTitle": "Angola",
@@ -105,7 +105,7 @@ var testCases = [
"itemType": "newspaperArticle",
"title": "Angola: Justice Minister On Voter's Registration Update",
"creators": [],
"date": "2011-10-04T05:49:38-0400",
"date": "2011-10-04T09:49:38+0000",
"libraryCatalog": "AllAfrica",
"publicationTitle": "Angola Press Agency (Luanda)",
"shortTitle": "Angola",
@@ -78,7 +78,7 @@ var testCases = [
"creatorType": "author"
}
],
"date": "October 19, 2011",
"date": "October 19, 2011, 8:00 PM GMT",
"abstractNote": "We've ranked the banks based on how shamelessly they game the political process through lobbying, revolving door politics and campaign donations.",
"libraryCatalog": "AlterNet",
"publicationTitle": "AlterNet",
@@ -149,12 +149,12 @@ function scrape(doc, url, dois) {
var testCases = [
{
"type": "web",
"url": "http://arc.aiaa.org/action/doSearch?AllField=titanium",
"url": "https://arc.aiaa.org/action/doSearch?AllField=titanium",
"items": "multiple"
},
{
"type": "web",
"url": "http://arc.aiaa.org/doi/abs/10.2514/1.T3744?prevSearch=&searchHistoryKey=",
"url": "https://arc.aiaa.org/doi/abs/10.2514/1.T3744?prevSearch=&searchHistoryKey=",
"items": [
{
"itemType": "journalArticle",
@@ -189,7 +189,7 @@ var testCases = [
"libraryCatalog": "American Institute of Aeronautics and Astronautics",
"pages": "192-196",
"publicationTitle": "Journal of Thermophysics and Heat Transfer",
"url": "http://dx.doi.org/10.2514/1.T3744",
"url": "https://doi.org/10.2514/1.T3744",
"volume": "26",
"attachments": [
{
@@ -145,7 +145,7 @@ function fixCitation(item, citation) {
var testCases = [
{
"type": "web",
"url": "http://biotechnologyforbiofuels.biomedcentral.com/articles/10.1186/s13068-015-0395-8",
"url": "https://biotechnologyforbiofuels.biomedcentral.com/articles/10.1186/s13068-015-0395-8",
"items": [
{
"itemType": "journalArticle",
@@ -206,7 +206,7 @@ var testCases = [
],
"notes": [
{
"note": "Pages 1-16 in PDF"
"note": "Pages 212 in PDF"
}
],
"seeAlso": []
@@ -215,7 +215,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://parasitesandvectors.biomedcentral.com/articles/10.1186/1756-3305-2-S1-S1",
"url": "https://parasitesandvectors.biomedcentral.com/articles/10.1186/1756-3305-2-S1-S1",
"items": [
{
"itemType": "journalArticle",
@@ -234,7 +234,7 @@ var testCases = [
"issue": "1",
"journalAbbreviation": "Parasites & Vectors",
"libraryCatalog": "BioMed Central",
"pages": "1-8",
"pages": "S1",
"publicationTitle": "Parasites & Vectors",
"url": "http://dx.doi.org/10.1186/1756-3305-2-S1-S1",
"volume": "2",
@@ -255,12 +255,12 @@ var testCases = [
},
{
"type": "web",
"url": "http://www.biomedcentral.com/search?query=zelle&searchType=publisherSearch",
"url": "https://www.biomedcentral.com/search?query=zelle&searchType=publisherSearch",
"items": "multiple"
},
{
"type": "web",
"url": "http://bmcevolbiol.biomedcentral.com/articles/",
"url": "https://bmcevolbiol.biomedcentral.com/articles/",
"items": "multiple"
}
]
@@ -85,8 +85,8 @@ function scrape(doc, url) {
translator.setTranslator('951c027d-74ac-47d4-a107-9c3069ab7b48');
translator.setHandler('itemDone', function (obj, item) {
//add date from microdata if not in header
if (!item.date) item.date = ZU.xpathText(doc, '//main//time[@itemprop="datePublished"]/@datetime');
item.complete();
if (!item.date) item.date = ZU.xpathText(doc, '//main//time[@itemprop="datePublished"]/@datetime');
item.complete();
});
translator.getTranslatorObject(function(trans) {
trans.itemType = type;
@@ -118,7 +118,7 @@ var testCases = [
"creatorType": "author"
}
],
"date": "2012-01-04T00:00:00.001Z",
"date": "2012-01-04T00:00:00.001Z",
"abstractNote": "Analysts’ failure to foresee declining earnings per share for the biggest U.S. banks last year hasn’t stopped them from predicting an even bigger profit surge for 2012.",
"libraryCatalog": "www.bloomberg.com",
"publicationTitle": "Bloomberg.com",
@@ -153,24 +153,16 @@ var testCases = [
"date": "2012-01-05T00:01:34.000Z",
"abstractNote": "Jan. 5 (Bloomberg) -- “If you laid all the economists in",
"libraryCatalog": "www.bloomberg.com",
"publicationTitle": "Bloomberg View",
"publicationTitle": "Bloomberg.com",
"shortTitle": "Four Economists Come Together to Say ‘We Agree’",
"url": "http://www.bloombergview.com/articles/2012-01-05/four-economists-come-together-to-say-we-agree-business-class",
"url": "https://www.bloomberg.com/view/articles/2012-01-05/four-economists-come-together-to-say-we-agree-business-class",
"attachments": [
{
"title": "Snapshot"
}
],
"tags": [
"China",
"Economic Research",
"Economics",
"Exchange Rate",
"Harvard University",
"Media",
"Monetary Policy",
"Stocks",
"Tax Reform"
"world"
],
"notes": [],
"seeAlso": []
@@ -179,7 +171,7 @@ var testCases = [
},
{
"type": "web",
"url": "http://www.bloomberg.com/news/videos/2016-09-08/how-to-capitalize-on-the-rotation-in-u-s-stocks",
"url": "https://www.bloomberg.com/news/videos/2016-09-08/how-to-capitalize-on-the-rotation-in-u-s-stocks",
"items": [
{
"itemType": "tvBroadcast",
@@ -188,14 +180,13 @@ var testCases = [
"abstractNote": "Tobias Levkovich, Citigroup's chief U.S. equity strategist, discusses the investment opportunities in U.S. stocks with Bloomberg's Vonnie Quinn and David Gura on \"Bloomberg Markets.\" (Source: Bloomberg)",
"libraryCatalog": "www.bloomberg.com",
"programTitle": "Bloomberg.com",
"url": "http://www.bloomberg.com/news/videos/2016-09-08/how-to-capitalize-on-the-rotation-in-u-s-stocks",
"url": "https://www.bloomberg.com/news/videos/2016-09-08/how-to-capitalize-on-the-rotation-in-u-s-stocks",
"attachments": [
{
"title": "Snapshot"
}
],
"tags": [
"Citigroup Inc",
"Markets",
"Money",
"Stocks"
@@ -211,4 +202,4 @@ var testCases = [
"items": "multiple"
}
]
/** END TEST CASES **/
/** END TEST CASES **/

0 comments on commit 9b97987

Please sign in to comment.
You can’t perform that action at this time.