this is the code i wrote to generate the data:
info <- html_nodes(manga, ".mt4") %>% html_text2() %>% strsplit("\n")
it returns 50 rows of lists that that look like this:
[1] "Manga (? vols)" "Aug 1989 -" "741,705 members"
without the strsplit function it returns this kind of string:
[1] "Manga (? vols)\nAug 1989 -\n741,705 members"
my end goal is to have 3 separate columns, like below but with 50 rows:
| media | serialization | members |
|---|---|---|
| Manga (? vols) | Aug 1989 - | 741,705 |
a complete table would look like this, i already have the title and rating section figured out:
| title | rating | media | serialization | members |
|---|---|---|---|---|
| Berserk | 9.47 | Manga (? vols) | Aug 1989 - | 741,705 |
im not sure if i should approach the question by keeping my data as rows of strings and trying to split it into columns that way, or figure out what i can do to a rows of lists. i have tried to see if the css selector can be more specific, but it seems like MyAnimeList just lumps all that information together so im not sure what to do
manga?