knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
The data structure includes the metadata of the talk with a nested dataframe with the paragraphs of the text.
library(generalconference) url <- "https://www.churchofjesuschrist.org/study/general-conference/2021/04/49nelson?lang=eng" scrape_talk(url)
Simply unnest the paragraphs column to get all paragraphs for a talk:
scrape_talk(url) %>% tidyr::unnest(paragraphs)
Pull all conference URLs for April, 1971:
df_conference <- scrape_conference_urls(1971, 4) df_conference
Unnest to see sessions
df_conference %>% unnest(sessions)
Unnest to see the individual talk urls:
df_conference %>% unnest(sessions) %>% unnest(session_talk_urls)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.