Make infoboxes for ratings, views, results, or comments.

make_infobox(course_data, selected_file, infotype)

Arguments

course_data

Reactive. Function containing all the course data loaded with the course.

selected_file

Character. Name of the file for which statistics should be displayed.

infotype

Character. Whether the infobox should display statistics about "ratings", "views", or "results" (comments are not implemented yet).

Value

Shinydashboard infoboxes

Author

Nicolas Mangin