Hi, I am a bit rusty in R and was wondering if I could have some assistance. I am trying to iterate through all the game pages and pull some information. I know how to get the URLs and how to handle the data once I get it into R, I just was having issues pulling the webpage into R as a JSON or XML file. Some help would be greatly appreciated.
How to pull a page into R
I attempted to use xmlToDataFrame to parse https://www.giantbomb.com/api/game/3030-76126/?api_key=[YOUR_KEY]&field_list=name,original_release_date
with my key in of course
and all I got was this error message
> result <- xmlToDataFrame(url)
Error: XML content does not seem to be XML: 'ld_list=name,original_release_date'
Please Log In to post.
Log in to comment