# ZotIF **Repository Path**: wanyzh/ZotIF ## Basic Information - **Project Name**: ZotIF - **Description**: No description available - **Primary Language**: Unknown - **License**: GPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-11-30 - **Last Updated**: 2021-11-30 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ZotIF plugin to add Impact Factors in Zotero database
LANCET,LANCET,53.254* Case is not significant since the extension will convert everything to upper case on file import. * The extension will also remove all the dots on import This means that "NAT. ENERGY","NAT ENERGY","Nat energy", etc... are identical If you want to have more than one abbrevation, you can duplicate line. For instance, "The journal of molecular biology" is sometimes written "journal of molecular biology" and may be abbreviated as "J Biol Chem" or "JBC". In that case you can simply add in your file:
Nature Reviews Materials,NAT REV MATER,51.941
NATURE REVIEWS DRUG DISCOVERY,NAT REV DRUG DISCOV,50.167
Nature Energy,NAT. ENERGY,46.859
The journal of molecular biology, J Biol Chem,4.011but you could also decide to write it as:
journal of molecular biology, JBC,4.011
The journal of molecular biology, J Biol Chem,4.011In fact ZotIF will take all the journals and abbreviations and will match them with the 'publicationTitle' and 'journalAbbreviation' fields of the selected citations. Any match will be considered. For instance, the 'journalAbbreviation' in your reference can match with a journal or an abbreviation in the csv file. The reverse is also true. The best is to consider that all the journal names and abbreviations declared in your csv file are in fact journal names that can match with any of the two fields "publicationTitle" and "journalAbbreviation" in your database. In summary, the 3-column format of the csv file is just for convenience and you can decide to write everything as journals, as soon as you respect the 3-column csv format:
The journal of molecular biology, JBC,4.011
journal of molecular biology, J Biol Chem,4.011
The journal of molecular biology,,4.011In that case, ZotIF will discard any empty name (all the abbreviations) and will consider all the journal names in the first column. A last remark. ZotIF does not make any checking on the values. This means you can use the plugin to enter any value instead on an impact factor. For instance, if you are a book shop, you can have a csv file containing the book prices:
J Biol Chem,,4.011
journal of molecular biology,,4.011
JBC,,4.011
Alice in Wonderland,,4.2$By default, the values are matched against the fields 'publicationTitle' and 'journalAbbreviation'. This is not the desired behavior and you should match against the 'title" field. You can do that in ZotIF advanced settings. see below
I Married a Communist,,3.75$
IMPACT: 10.23You can use this value in your style by using the html construct:
<text variable="IMPACT" prefix="IF = "/>You can adapt the prefix to whatever you like. For instance, in the previous example with prices
<text variable="IMPACT" prefix="Price = "/>
"extensions.zotif.fields" = "publicationTitle,journalAbbreviation" "extensions.zotif.key" = "IMPACT:"extensions.zotif.fields contains a list of comma-separated Zotero fields. ZotIF will use these fields to find a match with the names declared in the csv file. The default value makes sens for Impact Factors since "publicationTitle,journalAbbreviation" correspond respectively to the journal name and its abbreviation.