discogs_user_collection: Get metadata for a Discogs user collection

Description Usage Arguments Value Examples

View source: R/collection.R

Description

Return metadata for releases in a Discogs user collection.

Usage

1
2
discogs_user_collection(user_name, folder_id = 0, simplify_df = FALSE,
  access_token = discogs_api_token())

Arguments

user_name

The username of the collection you are trying to request.

folder_id

The ID of the collection folder (default value is 0, the “All” folder).

simplify_df

Coerce list of results into a nested data frame object

access_token

Discogs personal access token, defaults to discogs_api_token.

Value

a discogs_collection object that contains the extracted content from the request, the original JSON response object and the request path.

Examples

1
2
3
4
5
## Not run: 
discogs_user_collection(user_name = "rodneyfool")
discogs_user_collection(user_name = "rodneyfool", simplify_df = TRUE)

## End(Not run)

ewenme/discogger documentation built on Jan. 11, 2022, 2:11 p.m.