This function counts movies by category: genre, year, actors, director,
writer, language or country.
Usage
count_movies(count_by = NULL, path = ".")
Arguments
- count_by
The field to count movies by.
- path
The folder containing YAML files (or the root project).
Value
A 2-columns data frame.
Examples
if (FALSE) {
count_movies()
count_movies(count_by = "genre")
count_movies(count_by = "actors")
}