dig_search() searches the 'Discogs' database by a query, by filters or
by both, and returns one row per release, master release, artist or
label. It needs a token. dig_tally() and dig_plot() can count the
results by genre, style, format, label, country, year or decade, and
dig_plot() counts "results" instead of "releases" when they include
artists or labels.dig_collection() returns the media and sleeve condition of each copy
as factors from best to worst, with the same grades as
dig_price_suggestions(). The collection fields are read with one more
request, and only when a copy has a value in one of them. If that
request fails, the conditions are NA and the collection is kept.null gives a row of NA instead of returning
NULL without a message.dig_collection_value() keeps the sign of negative values.dig_collection_folders() lists the folders of a collection with their
IDs, which dig_collection() takes as folder.dig_collection() returns the folder name of each copy in a folder
column. The folders are read with one more request, which is skipped
without a token and when the token owner is known to be someone else.
Then, or if that request fails, the names are NA and the collection
is kept.dig_companies() unnests the labels and other companies of releases.dig_cache_clear() empties the cache.dig_collection(), dig_wantlist(), dig_collection_folders() and
dig_collection_value() use the owner of the token when no username is
given.NULL, as when the API cannot be reached.dig_search(all = TRUE) stops before fetching more than 100 pages.dig_wantlist() leaves out the notes of the user, as dig_collection()
does.First release.
dig_release(), dig_master(), dig_artist() and dig_label() read
the 'Discogs' database. Images and prices are left out.dig_tracklist(), dig_credits(), dig_formats() and
dig_identifiers() unnest release data into one row per item.dig_artist_releases(), dig_label_releases() and
dig_master_versions() list releases, with all pages on request.dig_collection() and dig_wantlist() list the collection and wantlist
of a user. Private ones can be read with the token of their owner, and
neither is cached.dig_price_stats(), dig_price_suggestions() and
dig_collection_value() read marketplace data. They are never cached,
and the last two need a token.dig_tally() counts a collection, a wantlist or the output of the
database and list functions by genre, style, format, label, artist,
role, country, year, decade or month added. dig_plot() plots the
counts with ggplot2 as labelled lollipops, columns or a growth line,
with titles, subtitles and alt text.data-raw/fixtures.R creates it."[a514141]" or "a514141". A code of the wrong type, such as a
master release code given to dig_release(), gives an error that names
the right function."0", are NA.