Getting Started
Reading Chapter List
import pandas as pd
# Dataset: List of Chapters
chapters = pd.read_json('https://projectq.io/data/source/chapters.json')
chapters
Reading Single Chapter with verses
# Dataset: Single Chapter with verses
c1 = pd.read_json('https://projectq.io/data/source/chapters/1.json')
c1
Expanding Verses Column
# Expanding verses column
c1 = c1.join(pd.json_normalize(c1.verses), rsuffix="_of_verse")
# dropping verses columns
c1.drop(columns=['verses'], inplace=True)
c1
Reading Individual Verses with Multilingual Translations
# Dataset: Individual Verses
v527 = pd.read_json('https://projectq.io/data/source/verses/527.json')
v527
Filtering to single translation
v527.loc[['en']]
Reading All Verses with Extended Translations
# Dataset: Verses with Extended Translations
verses = pd.read_json('https://projectq.io/data/source/verses.json')
verses
Filtering on single Verse
verses[verses.id==527]