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

documentation around JSON/XML field definition and values in FR granules #30

Closed
nirmalapudota opened this issue Mar 6, 2019 · 5 comments

Comments

@nirmalapudota
Copy link

Hi Team,

Could you please suggest if we have some documentation around the definition of fields (elements) and possible values they can take in Federal Register granule level XML files. E.g., and when and where they would be used, as they are not available in all granule XML files.

As well, if there is any documentation available around JSON values (e.g., citation, correction_of, proclamation_number, significant etc.) as well, would be very helpful. Some of them are self-explanatory, but it would be very helpful to have guided documentation around the fields/elements.

Thank you
Nirmala

@jonquandt
Copy link
Member

jonquandt commented Mar 6, 2019

Can you provide a couple of links with examples of what you're looking at, especially for the json data? I don't recognize those fields .

Unless I'm mistaken, we don't provide access to FR granule xml -only the package level via the govinfo API and UI. We do have granule level mods, but that's the descriptive metadata, not the content itself

This might be an issue to discuss with the federalregister.gov team.

https://github.com/usnationalarchives/federalregister-api-core

@nirmalapudota
Copy link
Author

Thank you for pointing me to the federalregister-api-core team, I will email them.
You are right, on govInfo I have not got the granule level XML, however the package level XML which has all the granule level content has the tags , etc.., small snippet (I was trying parse the XML tree) of it, am giving here and the corresponding link on govInfo is : "https://api.govinfo.gov/packages/FR-2019-01-29/xml?api_key=DEMO_KEY"

"

  |
  | 2. In § 1308.11, add paragraph (d)(72) and remove and reserve paragraph (h)(1).
  |

The addition to read as follows:


  |

  | § 1308.11
  | Schedule I.
  |
  |

(d) * * *


  |

(72) N-(1-amino-3,3-dimethyl-1-oxobutan-2-yl)-1-(cyclohexylmethyl)-1H-indazole-3-carboxamide (MAB-CHMINACA; ADB-CHMINACA)....................(7032)


  |
  |

  |
  | "

My requirement is, I would like to get the

level details of the regulation (that is section number, subject and amdpar) which was modified (amended or proposed or deleted) under a particular CFR PART/TITLE. Since this information is not available through JSON output from APIs either from govInfo or Federal register API, I am trying to see if I can build a parser on top of the content level XML files, such as above.
Any guidance around this would be very helpful.

Thank you
Nirmala

@nirmalapudota
Copy link
Author

Hi. apologies for the alignment of the XML snippet in the above reply, I was trying to give the XML tree, but because of the markdown support in the comments, it is not rendered properly. I have uploaded it as an image at the below link..
sample_xml_tree_FR_issue

Thanks
Nirmala

@jonquandt
Copy link
Member

Have you looked at the FR XML User guide located in our bulk data repository?

https://www.govinfo.gov/bulkdata/FR/resources/FDsys_OFR-XML_User-Guide-v1.pdf

@nirmalapudota
Copy link
Author

thank you for the XML schema pdf. It is helpful to get the XML structure details.

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