-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathREADME.Rmd
59 lines (42 loc) · 1.4 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# mixesdeebe
<!-- badges: start -->
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://CRAN.R-project.org/package=mixesdeebe)
[](https://github.com/club-cooking/mixesdeebe/actions)
<!-- badges: end -->
A web scraper for [MixesDB](https://www.mixesdb.com), written in R.
## Installation
You can install the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("club-cooking/mixesdeebe")
```
## Usage
```{r load}
library(mixesdeebe)
```
Get the tracklist for a mix, as a tidy "tibble".
```{r}
get_tracklist_tidy("https://www.mixesdb.com/w/2019-03-06_-_Object_Blue_-_The_Selector_After_Dark")
```
Get all mix pages for a "sub-category" (e.g. a "mix series"):
```{r}
truancy_vols <- get_mix_entries("https://www.mixesdb.com/w/Category:Truancy_Volumes")
head(truancy_vols)
```
Get mix-level metadata:
```{r}
get_mix_meta_tidy(truancy_vols)
```