Added the function Cristinunits
to create a tibble
with information about (nested) units in Cristin (e.g., A University
-> Faculties -> Departments -> Groups). The tibble can than be
used to extract data for each unit from Cristin.
Added the function CristinMonthly
to create a per
month Zotero collections for units defined in Cristinunits
.
It may use the internal functions CristinMail
and
CristinWeb
to create a newsletter using HTML for email and
web, respectively.
Fixed a bug in ZoteroFormat
where
parentCollection
key, in some special cases, were
identified as logical rather than character (Zotero uses a combination
of logical and character in this field). The error caused an error in
combining some collections.
Fixed a bug in ZoteroWrangler
where book sections
with empty creators in main book caused a NA error.
ZoteroLibray
, making it less
recursive and bloated.debug
checks.Fixed a bug in CristinWrangler
where successfully
identified duplicates with modified content in Cristin failed to update
key, version and collections, thus creating new copies rather than
updating existing items.
Removed hyphens from ISBN when importing from
Cristin
to simplify filtering.
Fixed a bug in CristinWrangler
where
remove.na
was set to TRUE rather than forcing item-type to
book (part_of
) for book chapters.
Fixed an issue in ZoteroLibrary
where zero
collections were reported when finding a specific collection
key.
Fixed an issue in ZoteroFormat
where tags could be
listed as either a data.frame or list
Fixed an issue in CristinWrangler
where
creatorType
of parent items are listed as authors when they
are (most probably) editors.
Fixed an issue in DoiCrossref
where first and last
names sometimes are switched due to an alt-name field in the
XML.
Fixed some issues with badges in README
.
Made some adjustments to ZoteroGet
.
bibliography
now contains, in addition to bib
,
bib.body
and bib.item
separating style form
the reference.
Created an internal function called ZoteroId
to
extract ids from extra field.
Added some internal functions to handle dates:
Months
to display (abbreviated) month names in Norwegian
and English, ChangeDate
to add/subtract date from date
(e.g., days, weeks, months), FloorDate
to set the first day
of the month, and CeilingDate
so set the last day of the
month.
Added a flowchart, why not.
CristinSupported
from
CristinWrangler
to Cristin
to better manage
filtering of items, and to reduce the number of lines (666) in
CristinWrangler
to a more manageable function (522).Moved option to include HTML bibliography from
ZoteroExport
to ZoteroLibrary
to avoid any
redundant API calls.
Omitted the redundant “in R” at the end of title in
DESCRIPTION
.
Made examples in exported functions executable. All functions,
except Zotero
and CristinSupported
, are set
within \donttest
, as the functions, either directly or
indirectly calls various API’s, and may violate CRAN’s 5 second
limit.
ZoteroDoi
that did not account for
spaces within the DOI itself (e.g.,
10.3390/ foods12061167
)Made ZoteroGet
split up itemKey
and
collectionKey
in lists of keys based on the
limit
argument, as Zotero API does not limit using multiple
keys in the same fashion as ordinary query (i.e., based on
start
and limit
intervals).
Made retrieving bibliography and citation fields from Zotero more elegant.
Fixed broken URLs.
Added single quotes to (software) names in the
Description
field in DESCRIPTION
.
Separated counting items (n.items
) and attachments
(n.attachments
).
Fixed another million typos.
Added an internal function FixCreators
to correct
Zotero items where the creators is listed by lastName
but
with an empty firstName
rather than using name
only. The error caused an crash in ZoteroIndex
.
Fixed Zotero
not being able to use an empty API key
to access public libraries
Added examples and a vignette prior to CRAN submission.
Made it optional to include items from
ZoteroLibrary
.
Added an internal function ErrorCode
to provide
information on JSON response codes.
Made some adjustments to ZoteroGet
with an option to
define results name (e.g., as collections or items).
Made some adjustments to the noise levels of the
silent
argument, being somewhat inconsistent between the
different functions. Still not happy with the amount of feedback for
recursive operations.
Fixed about a million typos.
NEWS.md
file to track changes to the
package.TODO.md
file to track future work on the
package.README.md
file as an introduction to the
package.CONDUCT.md
because people should be nice.badge.webp
just because