Create a bibliography in a newsletter format from month-to-month From either a specified unit or a set of units (e.g., A University -> Faculties -> Departments -> Groups). The function has the ability to create HTML output designed for emails and/or webpages.
CristinMonthly(
zotero,
unit.key,
style = "apa-single-spaced",
locale = "nn-NO",
start.date = Sys.Date(),
end.date = NULL,
use.filter = TRUE,
filter = NULL,
nvi = TRUE,
user.cards = FALSE,
use.identifiers = TRUE,
zotero.check = FALSE,
lang = "nn",
post = FALSE,
create.email = FALSE,
create.web = FALSE,
subject = NULL,
header = NULL,
footer = NULL,
replace.style = TRUE,
width = 700,
silent = FALSE,
log = list()
)
A list with bibliography and information for defined units
What Zotero library to use
What unit to search for
Citation style to use for appended bibliography and/or citations, Default: 'apa-single-spaced'
Desired language format of bibliography, Default: 'nn-NO'
Results created from specified date (YYYY-MM), Default: Sys.Date()
Results created before specified date (YYYY-MM), Default: NULL
Filter out specific items (otherwise supported by `CristinWrangler`), Default: TRUE
Filter out specific item types, will default to item types usually associated with NVI, Default: NULL
Filter out Cristin items not 1/2 in NVI, Default: TRUE
Get business cards of contributors (currently INN), Default: FALSE
Use if ISBN/DOI identifiers if enabled, Default: TRUE
Check if Cristin items exists in Zotero library , Default: FALSE
Set Cristin language (nn, nb, en), Default: 'nn'
Post new items to specified Zotero library, Default: FALSE
Create HTML output for email, Default: FALSE
Create HTML output for web, Default: FALSE
Add a custom subject to email, Default: NULL
Add a custom header to email, Default: NULL
Add a custom footer to email, Default: NULL
Email clients (e.g., Outlook) is poor at rendering CSS, and the default setting is to remove hanging indent, Default: TRUE
Width of email in pixels, Default: 700
c2z is noisy, tell it to be quiet, Default: FALSE
A list for storing log elements, Default: list()
Please see https://oeysan.github.io/c2z/
# \donttest{
# Dummy example
newsletter <- CristinMonthly(
Zotero(
id = "4827927",
api = "RqlAmlH5l1KPghfCseAq1sQ1"
),
"209.0.0.0"
)
# }
Run the code above in your browser using DataLab