Skip to content
This repository has been archived by the owner on Nov 9, 2021. It is now read-only.

Use api.freebird.bbc.co.uk endpoint #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions StatIndex/StatIndex-Analysis/R Code - StatIndex - JSON.R
Original file line number Diff line number Diff line change
Expand Up @@ -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]
news_URL_1 <- news_URL[1]