Description Usage Arguments Value Examples
View source: R/podlove_create_example_episodes.R
This function generates a tibble with sample data corresponding to the Wordpress
MySQL database table wp_podlove_episodes
.
1 | podlove_create_example_episodes(n_episodes, df_posts, seed = NULL)
|
n_episodes |
number of posts (rows) to generate |
df_posts |
data frame with corresponding posts |
seed |
parameter to fix randomization via |
a tibble with n_episodes episode entries and corresponding columns
1 2 3 4 5 6 7 8 | # preparation: create posts
example_posts <- podlove_create_example_posts(n_posts = 50,
start_date = "2018-10-25",
end_date = "2019-12-24")
# random posts episodes based
podlove_create_example_episodes(n_episodes = 30,
df_posts = example_posts)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.