Description Usage Arguments Value Examples
View source: R/get_song_rating.R
Get the rating from a song's filename for a specific reviewer and formation
1 | get_song_rating(song_filename, reviewer_name, formation)
|
song_filename |
path to a song's review file |
reviewer_name |
name of the reviewer, e.g. |
formation |
the K3 formation, in three, alphabettically
ordered uppercase characters, e.g |
a number if there is a rating given to that formation by that reviewer, else NA.
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 | song_filename <- get_song_path("Verliefd.md")
# 9
get_song_rating(
reviewer_name = "Richel",
song_filename = song_filename,
formation = "KKK"
)
# NA
get_song_rating(
reviewer_name = "Richel",
song_filename = song_filename,
formation = "JKK"
)
# 8
get_song_rating(
reviewer_name = "Richel",
song_filename = song_filename,
formation = "HKM"
)
# NA
get_song_rating(
reviewer_name = "Mark",
song_filename = song_filename,
formation = "KKK"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.