Text Analysis of the US Code of Federal Regulations

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 of the United States of America. Simply, the 'fedregs' package facilitates word processing and sentiment analysis of the CFR using tidy principles. Note: According to the Code of Federal Regulations XML Rendition User Guide Document: "In general, there are no restrictions on re-use of information in Code of Federal Regulations material because U.S. Government works are not subject to copyright. OFR and GPO do not restrict downstream uses of Code of Federal Regulations data, except that independent providers should be aware that only the OFR and GPO are entitled to represent that they are the providers of the official versions of the Code of Federal Regulations and related Federal Register publications."


fedregs 0.1.1

  • Updated code to work with the new Code of Federal Regulations API
  • Maximum year increased from 2017 to 2018

fedregs 0.1.0

New Stuff

  • Initial release.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.0.0 by Scott Large, 2 years ago

Report a bug at https://github.com/slarge/fedregs/issues

Browse source code at https://github.com/cran/fedregs

Authors: Scott Large [cre, aut]

Documentation:   PDF Manual  

GPL-3 license

Imports dplyr, magrittr, xml2, purrr, rvest, stringi, httr, tidyr, tidytext

Suggests ggplot2, testthat

See at CRAN