count_movies: Count Movies by Field (by Actor, by Genre, by Year, etc.)

View source: R/count_movies.R

count_moviesR Documentation

Count Movies by Field (by Actor, by Genre, by Year, etc.)

Description

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

## Not run: 
count_movies()
count_movies(count_by = "genre")
count_movies(count_by = "actors")

## End(Not run)

inSileco/omdbr documentation built on Feb. 12, 2024, 9:34 a.m.