Question: I am working with a movie dataset and one of the columns contains genre information. I am trying to extract the genre. some titles have more than one genre listed. Is there a way to extract the information I am looking for.
one movie under genre would have
[{"id": 12, "name": "Adventure"}]
so I want to extract Adventure
another would have more than one genre and would read like:
[{"id": 12, "name": "Adventure"}, {"id": 28, "name": "Action"}]
in this case I would want to extract both Adventure and Action
I know I should use stringr, but how in this case????
Just working with a dataset using string manipulation
Adventure
Adventure, Action
etc