gather_people: Gather episode datasets by people

View source: R/utils.R

gather_peopleR Documentation

Gather episode datasets by people

Description

A thin wrapper around tidyr::pivot_longer() and tidyr::separate_rows().

Usage

gather_people(episodes)

Arguments

episodes

A tibble containing host and guest columns, with names separated by ⁠;⁠.

Value

A tibble with new columns "role" and "person", one row per person.

Examples

## Not run: 
incomparable <- incomparable_get_episodes(incomparable_get_shows())
incomparable_wide <- gather_people(incomparable)

## End(Not run)

jemus42/poddr documentation built on April 5, 2025, 2:57 a.m.