api icon indicating copy to clipboard operation
api copied to clipboard

Can we see any topics or themes related to CFR sections?

Open manimittal15 opened this issue 5 years ago • 1 comments

Hi Team,

Could you please let us know if there is any way we can obtain topic/themes related to CFR section?

Thanks, Mani Mittal

manimittal15 avatar Jul 07 '19 06:07 manimittal15

@manimittal15 take a look at information on available metadata on our CFR help page

I would recommend using the mods at the package level, which will let you see the subjectGroup values for each granule within that particular volume. e.g. for:

https://api.govinfo.gov/packages/CFR-2019-title26-vol14/mods

There is an subjectGroup element within granule extensions.

<relatedItem type="constituent" ID="id-CFR-2019-title26-vol14-sec1-1502-18" xlink:href="https://www.govinfo.gov/metadata/granule/CFR-2019-title26-vol14/CFR-2019-title26-vol14-sec1-1502-18/mods.xml">
    <identifier type="Parent Id">id-CFR-2019-title26-vol14-part1-subjectgroup-id149</identifier>
    <titleInfo>
        <relatedItem type="otherFormat" xlink:href="https://www.govinfo.gov/content/pkg/CFR-2019-title26-vol14/xml/CFR-2019-title26-vol14-sec1-1502-18.xml">
            <relatedItem type="otherFormat" xlink:href="https://www.govinfo.gov/content/pkg/CFR-2019-title26-vol14/pdf/CFR-2019-title26-vol14-sec1-1502-18.pdf">
                <identifier type="uri">https://www.govinfo.gov/app/details/CFR-2019-title26-vol14/CFR-2019-title26-vol14-sec1-1502-18</identifier>
                <location>
                    <identifier type="preferred citation">26 CFR § 1.1502-18</identifier>
                    <identifier type="former granule identifier">26CFR§ 1.1502-18</identifier>
                    <extension>
                        <searchTitle>Section § 1.1502-18; Inventory adjustment.</searchTitle>
                        <chapterHeading>Chapter I</chapterHeading>
                        <chapterTitle>INTERNAL REVENUE SERVICE, DEPARTMENT OF THE TREASURY (CONTINUED)</chapterTitle>
                        <partHeading>Part 1</partHeading>
                        <partTitle>INCOME TAXES (CONTINUED)</partTitle>
                        <granuleClass>CONTENT</granuleClass>
                        <accessId>CFR-2019-title26-vol14-sec1-1502-18</accessId>
                        <sequenceNumber>155</sequenceNumber>
                        <heading>Section § 1.1502-18</heading>
                        <granuleLabel>section</granuleLabel>
                        <granuleNumber>§ 1.1502-18</granuleNumber>
                        <partRange from="1" to="1" />
                        <leafRange from="§ 1.1502-18" to="§ 1.1502-18" type="section" />
                        <citation>T.D. 6894, 31 FR 11794, Sept. 8, 1966, as amended by T.D. 7246, 38 FR 762, Jan. 4, 1973; T.D. 8597, 60 FR 36709, July 18, 1995: T.D. 8677, 61 FR 33323, June 27, 1996</citation>
                        <subjectGroup>Computation of Separate Taxable Income</subjectGroup>
                        <graphicsInPDF>false</graphicsInPDF>
                        <fr context="CITATION" volume="31">
                            <fr context="CITATION" volume="38">
                                <fr context="CITATION" volume="60">
                                    <fr context="CITATION" volume="61">
                    </extension>

Adding a subjectGroup element to the CFR granule json would be a possible enhancement.

jonquandt avatar Jul 17 '19 20:07 jonquandt