Skip to main content

A utility tool for accessing data from the Mirrulations dataset.

Project description

Mirrulations

A command-line tool for working with dockets from regulations.gov via the Mirrulations dataset.

This tool currently has two commands that wrap two existing scripts:

  • mirrulations fetch — Download all data for a specific docket by ID. See documentation.
  • mirrulations csv — Reformat comments data as a tabular CSV file. See documentation.

Example usage

# Download Docket CMS-2019-0039 to ./CMS-2019-0039
mirrulations fetch CMS-2019-0039

# Transform comments into a CSV to ./CMS-2019-0039.csv
mirrulations csv CMS-2019-0039/raw-data/comments/

Excluding file types

mirrulations fetch supports a multiple use --exclude flag to exclude certain file types. By default, the following types are downloaded: docket, documents, comments, derived.

For example, to exclude comments and derived and to only include docket and documents:

mirrulations fetch CMS-2019-0039 --exclude comments --exclude derived

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mirrulations-0.1.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mirrulations-0.1.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file mirrulations-0.1.2.tar.gz.

File metadata

  • Download URL: mirrulations-0.1.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.2

File hashes

Hashes for mirrulations-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0dc7fd0452ee31491255d534af63721e417910bab6059c2658613756b8d5420a
MD5 cb103b1c21620f81517f198c1d84c522
BLAKE2b-256 f933508bddc4d87f305f55ab4edd4a9cb7b192288f2e322969efdf8c1f5e87d8

See more details on using hashes here.

File details

Details for the file mirrulations-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for mirrulations-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 abb83ef0be0c634eda082645b0ac790c99beb7e7118d6822899436db7f74f148
MD5 0a09a78d074ff27fee8dc9a603427cd4
BLAKE2b-256 801d29295c56128f9793ed488df9d14e35162a2fa747f2b4172f8f081bc078a4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page