knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

friends

R-CMD-check CRAN status Downloads Lifecycle: stable

The goal of friends to provide the complete script transcription of the Friends sitcom. The data originates from the Character Mining repository which includes references to scientific explorations using this data. This package simply provides the data in tibble format instead of json files.

Installation

You can install the released version of friends from CRAN with:

install.packages("friends")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("EmilHvitfeldt/friends")

Example

The friends package comes with a couple of datasets. The main one is the friends dataset which is a tibble containing all the utterances in the show

library(friends)

friends

All the utterances are broken down by season, episode, scene and utterance which allows for very detailed analysis. Please note that the speaker will be denoted "Scene Directions" to show scene directions, or otherwise non-spoken descriptions.

The original data includes emotion and character entity annotation for some of the utterances. These annotations have been included in separate tibbles. These can easily be joined back to the main dataset as needed.

friends_entities

friends_emotions

There is also a tibble containing episode specific information such as title, air_date and imdb_rating

friends_info

Code of Conduct

Please note that the friends project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



EmilHvitfeldt/friends documentation built on Dec. 24, 2021, 11:56 a.m.