Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

interface to the Discogs API

License

NotificationsYou must be signed in to change notification settings

ewenme/discogger

Repository files navigation

lifecycleTravis build status

Overview

Tools for working with theDiscogs API in R.

Discogs Developers Site:https://www.discogs.com/developers

Install

Development version

devtools::install_github('ewenme/discogger')

Authenticate

  1. Create a Discogs API v2application
  2. Generate a personal access token from yourAPI applicationpage
  3. Set your credentials in the System Environment variableDISCOGS_API_TOKEN by calling thediscogs_api_token() functionand entering your Discogs application personal access token whenprompted.

Use

library(discogger)library(tidyverse)

Who released the most Dance Mania records?

# get dance mania records listed on discogsdm_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 aContributor Code ofConduct. By participating in this project you agreeto abide by its terms.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp