Discogger
interface to the Discogs API
Install / Use
/learn @ewenme/DiscoggerREADME
discogger <img src="man/figures/logo.png" width="160px" align="right" />
Overview
Tools for working with the Discogs API in R.
Discogs Developers Site: https://www.discogs.com/developers
Install
Development version
devtools::install_github('ewenme/discogger')
Authenticate
- Create a Discogs API v2 application
- Generate a personal access token from your API application page
- Set your credentials in the System Environment variable
DISCOGS_API_TOKENby calling thediscogs_api_token()function and entering your Discogs application personal access token when prompted.
Use
library(discogger)
library(tidyverse)
Who released the most Dance Mania records?
# get dance mania records listed on discogs
dm_recs <- discogs_label_releases(label_id = 314)
dm_recs$content %>%
group_by(artist) %>%
summarise(n_releases = n_distinct(catno)) %>%
arrange(desc(n_releases)) %>%
top_n(10)
## # A tibble: 10 x 2
## artist n_releases
## <chr> <int>
## 1 Various 21
## 2 DJ Milton 15
## 3 D.J. Funk* 13
## 4 DJ Deeon 13
## 5 Paul Johnson 11
## 6 Robert Armani 11
## 7 Jammin Gerald 10
## 8 Parris Mitchell 9
## 9 D.J. Slugo* 7
## 10 DJ Funk 7
Contribute
Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms.
Related Skills
node-connect
342.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
342.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.7kCommit, push, and open a PR
