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

Topics related to Notification #16

Open
manimittal15 opened this issue Jul 8, 2019 · 2 comments
Open

Topics related to Notification #16

manimittal15 opened this issue Jul 8, 2019 · 2 comments

Comments

@manimittal15
Copy link

Hi Team,

We can view various topics list in link : https://www.federalregister.gov/topics . Any new FR notification is been categorized under these topics. Could you please let us know how these topics are assigned. Also these topics are assigned for each notification having multiple title/parts, can we have any repository where we can find topics assigned at parts/section mentioned in FR notification.

Thanks,
Mani Mittal

@peregrinator
Copy link
Member

Hi Mani, topics are chosen by the agency as part of publishing the document and can generally be seen in the 'List of Subjects' section of the document.

For example here in the following document: https://www.federalregister.gov/documents/2019/07/11/2019-14098/new-animal-drugs-updating-tolerances-for-residues-of-new-animal-drugs-in-food#los-cfr-1

These topics are extracted from the MODS file the GPO provides for each document - in this example here: https://www.govinfo.gov/metadata/granule/FR-2019-07-11/2019-14098/mods.xml

Within that XML document you can see nodes like the following that should provide you with what you are looking for:

<cfr title="21">
  <part number="500"/>
  <subject>Animal Drugs</subject>
  <subject>Animal Feeds</subject>
  <subject>Cancer</subject>
  <subject>Labeling</subject>
  <subject>Packaging and Containers</subject>
  <subject>Polychlorinated Biphenyls (Pcbs)</subject>
</cfr>

This data is not available as an API endpoint at this time so you will need to consume the corresponding MODS file for each document. Our API does however provide a url to the correct file as part of the mods_url field.

@manimittal15
Copy link
Author

Hi Bob,

Thanks for your response.
While analyzing the above links I found a discrepancies in subject list.
In MODS file subjects are mention under only Part 500 and Part 556 whereas in federalregister link we have subjects for parts 520, 522, 524, 526, 529 and 558 as well.

subj1

subj2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants