home / openregs

documents

Regulatory documents from Regulations.gov including rules, proposed rules, notices, and supporting materials.

Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API

3 rows where docket_id = "DEA-2010-0010" and document_type = "Rule" sorted by posted_date descending

✎ View and edit SQL

This data as json, CSV (advanced)

posted_year 3

  • 2010 1
  • 2018 1
  • 2020 1

document_type 1

  • Rule · 3 ✖

agency_id 1

  • DEA 3
id agency_id docket_id title document_type subtype posted_date ▲ posted_year posted_month comment_start_date comment_end_date last_modified fr_doc_num open_for_comment withdrawn object_id
DEA-2010-0010-0102 DEA Electronic Prescriptions for Controlled Substances DEA-2010-0010 Electronic Prescriptions for Controlled Substances Rule   2020-04-21T04:00:00Z 2020 4 2020-04-21T04:00:00Z 2020-06-23T03:59:59Z 2020-06-24T01:00:39Z 2020-07085 0 0 09000064844bb877
DEA-2010-0010-0101 DEA Electronic Prescriptions for Controlled Substances DEA-2010-0010 Definitions Relating to Electronic Orders and Prescriptions for Controlled Substances; CFR Correction Rule   2018-04-18T04:00:00Z 2018 4 2018-04-18T04:00:00Z   2018-04-18T18:00:29Z 2012-23529 0 0 0900006481124d4a
DEA-2010-0010-0001 DEA Electronic Prescriptions for Controlled Substances DEA-2010-0010 Electronic Prescriptions for Controlled Substances Rule   2010-03-31T04:00:00Z 2010 3 2010-03-31T04:00:00Z 2010-06-02T03:59:59Z 2011-06-11T15:41:55Z 75 FR 16 236 0 0 0900006480acccc3

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE documents (
    id TEXT PRIMARY KEY,
    agency_id TEXT,
    docket_id TEXT REFERENCES dockets(id),
    title TEXT,
    document_type TEXT,
    subtype TEXT,
    posted_date TEXT,
    posted_year INTEGER,
    posted_month INTEGER,
    comment_start_date TEXT,
    comment_end_date TEXT,
    last_modified TEXT,
    fr_doc_num TEXT,
    open_for_comment INTEGER,
    withdrawn INTEGER,
    object_id TEXT
);
CREATE INDEX idx_docs_agency ON documents(agency_id);
CREATE INDEX idx_docs_docket ON documents(docket_id);
CREATE INDEX idx_docs_date ON documents(posted_date);
CREATE INDEX idx_docs_year ON documents(posted_year);
CREATE INDEX idx_docs_type ON documents(document_type);
CREATE INDEX idx_docs_frnum ON documents(fr_doc_num);
CREATE INDEX idx_docs_comment_end ON documents(comment_end_date) WHERE comment_end_date IS NOT NULL AND withdrawn = 0;
Powered by Datasette · Queries took 1855.544ms · Data license: Public Domain (U.S. Government data) · Data source: Federal Register API & Regulations.gov API