Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ang number missing in data files #1761

Closed
SSAT opened this issue May 7, 2020 · 3 comments
Closed

Ang number missing in data files #1761

SSAT opened this issue May 7, 2020 · 3 comments
Assignees
Labels
? Type Question User/developer question.

Comments

@SSAT
Copy link

SSAT commented May 7, 2020

Hi,
I have found there are multiple page no. (ang no.) are missing in the Sri Dasam Granth bani. Even though there data is in different file can you please explain how to grab the full source.

@bhajneet
Copy link
Member

bhajneet commented May 7, 2020

I believe the json files are split by section/subsection. When these go across multiples then they are saved in the starting json.

@Harjot1Singh can you explain the technicalities of pulling page/ang like done in database.shabados.com ?

@Harjot1Singh
Copy link
Member

@SSAT if you install the npm package, or download the SQLite database, you will be able to query by page/ang. The repository is used as the "source of truth", so it is not designed to be consumed "as-is", which is why we build it into a downloadable database.

If you do look into the JSON files, you'll notice that some page files are missing, because the grouping is done by shabad, and some shabads span multiple pages. In these cases, the proceeding (missing) pages are actually included in the previous page.

Let us know if this answers your question, or if you need any more assistance!

@SSAT
Copy link
Author

SSAT commented May 8, 2020 via email

@bhajneet bhajneet closed this as completed May 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
? Type Question User/developer question.
Projects
None yet
Development

No branches or pull requests

4 participants