From 4b035eb7c67f3f6769a7e70271ec19092efc4861 Mon Sep 17 00:00:00 2001 From: Thomas Parisot Date: Wed, 24 Aug 2016 15:38:05 +0100 Subject: [PATCH] Use api.freebird.bbc.co.uk endpoint --- StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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]