Skip to content

Latest commit

 

History

History
executable file
·
76 lines (52 loc) · 5.38 KB

CodeOfFederalRegulations.md

File metadata and controls

executable file
·
76 lines (52 loc) · 5.38 KB

Code of Federal Regulations

quote The Code of Federal Regulations (CFR) annual edition is the codification of the general and permanent rules published in the Federal Register by the departments and agencies of the Federal Government. It is divided into 50 titles that represent broad areas subject to Federal regulation. The 50 subject matter titles contain one or more individual volumes, which are updated once each calendar year, on a staggered basis. The annual update cycle is as follows: titles 1-16 are revised as of January 1; titles 17-27 are revised as of April 1; titles 28-41 are revised as of July 1; and titles 42-50 are revised as of October 1. Each title is divided into chapters, which usually bear the name of the issuing agency. Each chapter is further subdivided into parts that cover specific regulatory areas. Large parts may be subdivided into subparts. All parts are organized in sections, and most citations to the CFR refer to material at the section level. About the Code of Federal Regulations (annual edition) link-external.

FDsys - Browse Code of Federal Regulations (Annual Edition) . (2018). Gpo.gov. Retrieved 22 March 2018, from https://www.gpo.gov/fdsys/browse/collectionCfr.action?collectionCode=CFR link-external

govinfo.CodeOfFederalRegulations

info All URIs are relative to https://www.govinfo.gov/link link-external.

Method HTTP request Description
cfrFetchUsingGET GET /cfr/{titlenum}/{partnum} Query: title number, part number, section number, year OR most recent

cfrFetchUsingGET

Object cfrFetchUsingGET(titlenum, partnum, opts)

Query: title number, part number, section number, year OR most recent

Example

const { CodeOfFederalRegulations } = require('govinfo-link-js')

const api = new CodeOfFederalRegulations()

const titlenum = 56 // Number | Title number. Sample value is 3.

const partnum = 'partnum_example' // String | Part number. Sample value is 100

const opts = {
  sectionnum: 'sectionnum_example', // String | This is the section number. Sample value is 1. If section number is not provided the entire part will be returned.
  year: 'year_example', // String | This is the four digit numerical year OR mostrecent. If year is not provided the most recent version of the CFR section or part is returned. Default is most recent. Sample value is 2011.
  linkType: 'linkType_example' // String | This is the format of the returned document. Default is pdf. Other values are xml, mods, premis, details, context, related.
}

const callback = (error, data, response) => {
  if (error) {
    console.error(error)
  } else {
    console.log(`SUCCESS: ${JSON.stringify(response, null, 2)}`)
  }
}
api.cfrFetchUsingGET(titlenum, partnum, opts, callback)

Parameters

Name Type Description Notes
titlenum Number Title number. Sample value is 3.
partnum String Part number. Sample value is 100
sectionnum String This is the section number. Sample value is 1. If section number is not provided the entire part will be returned. [optional]
year String This is the four digit numerical year OR mostrecent. If year is not provided the most recent version of the CFR section or part is returned. Default is most recent. Sample value is 2011. [optional]
linkType String This is the format of the returned document. Default is pdf. Other values are xml, mods, premis, details, context, related. [optional]

Return type

Object

Authorization

No authorization required.

HTTP request headers

  • Content-Type: application/json
  • Accept: /