Busabase
Busabase 是一个开源(MIT)数据库与 AI 智能体工作空间——将数据、文档、技能和应用集成于一体。您可以本地运行、在网络内自托管或使用 Busabase Cloud,从而开启新时代。
AI 翻译
A comprehensive resource for data on Taylor Swift songs, and ggplot2 helper functions
翻译准备中
正在加载完整 README。
查看完整 README ↗The goal of taylor is to provide easy access to a curated data set of Taylor Swift songs, including lyrics and audio characteristics. Data comes from Genius and the SoundStat API.
You can install the released version of taylor from CRAN with:
install.packages("taylor")
To install the development version from GitHub use:
# install.packages("remotes")
remotes::install_github("wjakethompson/taylor")
There are three main data sets. The first is taylor_album_songs, which
includes lyrics and audio features from the SoundStat API for all songs
on Taylor’s official studio albums. Notably this excludes singles
released separately from an album (e.g., “Only the Young”, “Christmas
Tree Farm”, etc.) and EPs (e.g., Beautiful Eyes). However, now that
Taylor owns all her
masters, both the original
and Taylor’s Version are included for albums that were rerecorded (e.g.,
both Fearless and Fearless (Taylor’s Version) are present).
taylor_album_songs
#> # A tibble: 332 × 26
#> album_name ep album_release track_number track_name artist featuring
#> <chr> <lgl> <date> <int> <chr> <chr> <chr>
#> 1 Taylor Swift FALSE 2006-10-24 1 Tim McGraw Taylo… <NA>
#> 2 Taylor Swift FALSE 2006-10-24 2 Picture To Bu… Taylo… <NA>
#> 3 Taylor Swift FALSE 2006-10-24 3 Teardrops On … Taylo… <NA>
#> 4 Taylor Swift FALSE 2006-10-24 4 A Place In Th… Taylo… <NA>
#> 5 Taylor Swift FALSE 2006-10-24 5 Cold As You Taylo… <NA>
#> 6 Taylor Swift FALSE 2006-10-24 6 The Outside Taylo… <NA>
#> 7 Taylor Swift FALSE 2006-10-24 7 Tied Together… Taylo… <NA>
#> 8 Taylor Swift FALSE 2006-10-24 8 Stay Beautiful Taylo… <NA>
#> 9 Taylor Swift FALSE 2006-10-24 9 Should've Sai… Taylo… <NA>
#> 10 Taylor Swift FALSE 2006-10-24 10 Mary's Song (… Taylo… <NA>
#> # ℹ 322 more rows
#> # ℹ 19 more variables: bonus_track <lgl>, promotional_release <date>,
#> # single_release <date>, track_release <date>, danceability <dbl>,
#> # energy <dbl>, loudness <dbl>, acousticness <dbl>, instrumentalness <dbl>,
#> # valence <dbl>, tempo <dbl>, duration_ms <int>, explicit <lgl>, key <int>,
#> # mode <int>, key_name <chr>, mode_name <chr>, key_mode <chr>, lyrics <list>
You can access Taylor’s entire discography with taylor_all_songs. This
includes all of the songs in taylor_album_songs plus EPs, individual
singles, and songs where Taylor is credited as a featured artist or
writer.
taylor_all_songs
#> # A tibble: 384 × 26
#> album_name ep album_release track_number track_name artist featuring
#> <chr> <lgl> <date> <int> <chr> <chr> <chr>
#> 1 Taylor Swift FALSE 2006-10-24 1 Tim McGraw Taylo… <NA>
#> 2 Taylor Swift FALSE 2006-10-24 2 Picture To Bu… Taylo… <NA>
#> 3 Taylor Swift FALSE 2006-10-24 3 Teardrops On … Taylo… <NA>
#> 4 Taylor Swift FALSE 2006-10-24 4 A Place In Th… Taylo… <NA>
#> 5 Taylor Swift FALSE 2006-10-24 5 Cold As You Taylo… <NA>
#> 6 Taylor Swift FALSE 2006-10-24 6 The Outside Taylo… <NA>
#> 7 Taylor Swift FALSE 2006-10-24 7 Tied Together… Taylo… <NA>
#> 8 Taylor Swift FALSE 2006-10-24 8 Stay Beautiful Taylo… <NA>
#> 9 Taylor Swift FALSE 2006-10-24 9 Should've Sai… Taylo… <NA>
#> 10 Taylor Swift FALSE 2006-10-24 10 Mary's Song (… Taylo… <NA>
#> # ℹ 374 more rows
#> # ℹ 19 more variables: bonus_track <lgl>, promotional_release <date>,
#> # single_release <date>, track_release <date>, danceability <dbl>,
#> # energy <dbl>, loudness <dbl>, acousticness <dbl>, instrumentalness <dbl>,
#> # valence <dbl>, tempo <dbl>, duration_ms <int>, explicit <lgl>, key <int>,
#> # mode <int>, key_name <chr>, mode_name <chr>, key_mode <chr>, lyrics <list>
Finally, there is a small data set, taylor_albums, summarizing
Taylor’s album release history.
以上为 README 的开头部分。其余内容请阅读原文。 查看完整 README ↗