pad_episode | R Documentation |
Simple function to ease the creation of sXXeYY
episode ids.
Note that s
and e
must have the same length.
pad_episode(s = "0", e = "0", s_width = 2, e_width = 2)
s |
Input season number, coerced to |
e |
Input episode number, coerced to |
s_width |
The length of the season number padding. Defaults to 2. |
e_width |
The length of the episode number padding. Defaults to 2. |
A character
in the common sXXeYY
format
I like my sXXeYY format, okay?
Other utility functions:
build_trakt_url()
# Season 2, episode 4
pad_episode(2, 4)
pad_episode(1, 85, e_width = 3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.