read_details | R Documentation |
This function reads YAML files with movie(s) metadata stored by the function
get_details()
read_details(path = ".", imdb_id = NULL, print = TRUE)
path |
The folder containing YAML files (or the root project). |
imdb_id |
(optional) The IMDb ID(s) of the movie(s). |
print |
A boolean. If TRUE (default), movie informations are printed (if one single IMDb ID is required). |
A data frame with:
imdbid: the IMDb ID of the movie
type: the category (e.g. movie)
title: the movie title
year: the year of release
runtime: the movie runtime (in minutes)
director: a vector of directors
writer: a vector of writers
actors: a vector of main actors
genre: a vector of genres
plot: a short plot of the movie
language: a vector of spoken languages
country: a vector of the countries
imdbrating: the IMDb rating (in date of the request)
slug: a unique identifier (titre + year)
## Not run:
x <- read_details()
x <- read_details(imdb_id = "tt2278388", print = TRUE)
x <- read_details(imdb_id = c("tt2278388", "tt0362270"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.