Releases: NYPL/libbib
CRAN release v1.6.4
Version 1.6.4 on CRAN!
CRAN release v1.6.3
Small corrections and new best practices following
CRAN release v1.6.2
(straight from NEWS.md)
new features
- Functions
fread_plus_date
,fwrite_plus_date
,set_lb_attribute
,
set_lb_date
, andcp_lb_attributes
to read/write files with
special date attribute and work with date and other special
attributes.
bug fixes
- LC call number functions now call str_trim before anything
CRAN release v1.6
(straight from the NEWS.md file)
new features
-
Wrote a translation layer to translate more human-readable aliases
of every WorldCat SRU search index to their formal name. The
worldcat_api_search
function now uses this by default. You can still use
the formal names, and even mix codes in the same query. The function
documentation has been updated to reflect these new aliases. -
A vignette on how to use the WorldCat search API is now available
with a ton of very useful information. -
Added
dt_na_breakdown
function.
bug fixes
-
print.progress
conditional now works for Location and Search API functions -
Fixed a bug where if the number of search results was an exact multiple
of 100, the search api function wouldn't return anything
improvements
-
WorldCat API functions will now error if no WSKEY is provided
(either withoptions("libbib.wskey"=...)
or explicitly
in the formal parameters -
WorldCat Search function now tolerant of newlines and multiple
spaces. Now long queries can be look neat! -
More of the diagnostic output now uses
message
instead ofprint
orcat
-
If no Search API results are returned, the function prints the any
diagnostic message returned from the Search API
(things like Query syntax operators and unsupported indexes) -
get_clean_names
anddt_set_clean_names
will now never produce
duplicate column names -
dt_keep_cols
will warn user if a supplied column name doesn't
exist in the supplied data.table -
dt_add_to_col_names
will, by default, error if any of the new
names create any duplicate column names (not setting the new
names). IfTRUE
, all the column names are made unique,
potentially renaming excluded column names that were not supposed
to be changed. -
Added option in
dt_counts_and_percents
(anddt_na_breakdown
)
to specify abig.mark
which will be used to separate every
three digits of the count. IfFALSE
(the default) the count
will remain and integer.
small breaking changes
-
marc_008_get_info
no longer returns the original publication
date by default -
excluding "questionable dates" in
marc_008_get_info
just NAs
character position 6="q", now -
The
print.api.responses
parameter in the Classify API functions has
been changed todebug
to be more consistent with the other API functions. -
num_total
column in search results has been renamed the (more descriptive)
total_wc_results
-
By default,
get_clean_names
anddt_set_clean_names
will convert
all upper case characters to lower case. This can be overidden with
by setting thelower
parameter (in both) toFALSE
.
CRAN release v1.5
(taken directly from NEWS.md
libbib 1.5
new features
-
Implemented Dewey Decimal Code to subject translation
-
Added various helpful utility functions
-
Added split_map_filter_reduce and related utilities
-
Added functions to get language and country names from
corresponding Marc codes -
Added function to get links to OCLC's classify service
-
Added ability to link directly to MARCXML, MODS, MADS, or
Dublin Core metadata formats inloc_permalink_from_lccn
-
Added functions to use the WorldCat Bib Read API,
read/parse the returned MARCXml, and return adata.table
containing the most pertinent information. -
Added functions to use the WorldCat Classify API and return a
data.table
containing the most popular Dewey and LC call numbers. -
Added functions to use the WorldCat Location API and return a
data.table
containing (optionally, all) of the holding libraries
for that standard number. -
Added functions to extract info from MARC leaders and 008 fields
-
Added functions to use the WorldCat SRU search API and return a
data.table
containing (optionally, all) of the results.
bug fixes
-
Expanded lc call <-> subject crosswalk (mainly for 'Law')
-
Fixed bugs in lc call <-> subject translation mechanism
improvements
- performance of
is_valid_lc_call
improved
CRAN release v1.0
v1.0 (first version) was accepted and on CRAN