diff --git a/StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R b/StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R index 28d1922..5e96f13 100644 --- a/StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R +++ b/StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R @@ -8,10 +8,10 @@ library(jsonlite) # Extract data direct from Freebird -news_json <- fromJSON("https://admin.freebird.prototyping.bbc.co.uk/recipes/94.json") +news_json <- fromJSON("https://api.freebird.prototyping.bbc.co.uk/recipes/94") # Subset URLs containing news content news_URL <- news_json$items$url # Check first URL -news_URL_1 <- news_URL[1] \ No newline at end of file +news_URL_1 <- news_URL[1]