Skip to main content

Summarize SAS7BDAT register coverage and variable availability.

Project description

sas7bdat-overview

Summarize SAS7BDAT coverage by register, period, and variable availability.

Install (wheel)

Build a wheel locally and upload to your PyPI mirror:

python -m pip install maturin
maturin build --release

The wheel will be under target/wheels/.

Usage

Basic metadata-only scan (fast):

sas7bdat-overview /path/to/sas/files --out-dir /path/to/output

Include per-variable value profiles (slower, scans all rows):

sas7bdat-overview /path/to/sas/files --out-dir /path/to/output --profile

Include unique person/family counts (slower, scans all rows):

sas7bdat-overview /path/to/sas/files --out-dir /path/to/output --compute-ids

Restrict to specific registers (case-insensitive):

sas7bdat-overview /path/to/sas/files --registers lpr_diag,ind

Outputs

When --out-dir is set, the tool writes:

  • register_inventory.csv — register coverage (first/last year, file count, column count)
  • variable_coverage.csv — variable coverage by register and year
  • variable_profile.csv — per-variable missingness and ranges (only populated if --profile is used)
  • inventory_summary.md — human-readable summary table

The JSON output (--output) includes the full raw summaries.

File naming

Handles filenames like:

  • <register>.sas7bdat
  • <register><year>.sas7bdat
  • <register><year><month>.sas7bdat
  • <register>_YYYY_MM.sas7bdat
  • <register>-YYYY-MM.sas7bdat

Register names may include underscores.

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

sas7bdat_overview-0.1.0-py3-none-win_amd64.whl (879.7 kB view details)

Uploaded Python 3Windows x86-64

File details

Details for the file sas7bdat_overview-0.1.0-py3-none-win_amd64.whl.

File metadata

File hashes

Hashes for sas7bdat_overview-0.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 7af09a1faedba44d5912d990a40a195def8e9eb027dd5b2ff0a19fa99b7bf1de
MD5 c1d7f1da121ea794b91cd09ba21a741b
BLAKE2b-256 4eeb61f4c604a556547c231c8067b82b33d49e5508d62e81a317d5a1d77a9a7f

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