Generates an html table (reactable) with the total votes per image and category.

get_ratings_table(df, rating_category, img_width = 160)

Arguments

df

A long dataframe with image ratings with survey's responses, after being processed by get_image_ratings.

rating_category

A string containing the rating categories to be filtered out. Possible values: "aesthetics", "enjoyment", "safety" or "vibrancy".

img_width

A number defining the images' width in pixels.

Value

An html widget with a reactable with ratings of a given category for all images.