View source: R/get_song_rating.R
get_song_rating | R Documentation |
Get the rating from a song's filename for a specific reviewer and formation
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.
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.