system HF Staff commited on
Commit
093616d
·
verified ·
1 Parent(s): 468dc0e

Dataset card for release 2026-10

Browse files
Files changed (1) hide show
  1. README.md +13 -6
README.md CHANGED
@@ -27,6 +27,10 @@ configs:
27
  data_files:
28
  - split: release_2026_10
29
  path: "release=2026-10/provider_set/*.parquet"
 
 
 
 
30
  - config_name: provider_group
31
  data_files:
32
  - split: release_2026_10
@@ -45,18 +49,19 @@ configs:
45
 
46
  Every in-network rate Cigna published under the Transparency in Coverage rule, parsed, deduplicated across files and stored as Parquet. Part of RateCommons, a free public dataset of negotiated health care prices. Code: https://github.com/Harshu-Pande/ratecommons
47
 
48
- Release `2026-10`: 124 source files, 304,709,442 distinct rate facts from 1,928,514,784 published rate rows, 11.6 GB.
49
 
50
  ## Tables
51
 
52
  | Table | Rows | What it holds |
53
  | --- | ---: | --- |
54
- | `rate_fact` | 304,709,442 | One row per distinct rate fact: a billing code, a provider set and a price list, with the set of networks it appears in (`ns_id`). Sorted by code. 16 parts by billing code. |
55
- | `network_set` | 13,688 | `ns_id` -> the sorted list of `network_id`s sharing those facts. One file per `rate_fact` part, so a set can repeat across files. |
56
  | `network` | 124 | One row per derived network: distinct file content (size and gzip trailer). |
57
  | `source_file` | 124 | One row per source file: name, URL, size, gzip fingerprint, header, counts, parser flags, and its `network_id`. |
58
  | `code` | 116,566 | Billing codes as published (type, version, code, arrangement), keyed by `code_id`. Descriptor text is withheld where it is licensed (see below). |
59
- | `provider_set` | 1,659,291 | `ps_id` -> the provider groups (`pg_ids`) a rate applies to. |
 
60
  | `provider_group` | 664,715 | `pg_id` -> TIN (type, normalized value, raw values) and sorted NPI list; `tin_wide` when the file lists NPI 0 (the whole TIN). Business names are hints only. |
61
  | `price_list` | 28,290,701 | `pl_id` -> the price terms (`pt_ids`) of one negotiated_prices list. |
62
  | `price_term` | 9,390,706 | `pt_id` -> one negotiated price: type, amount (`rate_e4` = dollars x 10,000, plus `rate_raw` exactly as published), billing class, setting, service codes, modifiers, expiration date, additional information, parsed revenue-code ranges and flags. |
@@ -67,7 +72,7 @@ IDs are content hashes (xxh3-128 over a canonical encoding of the values), so th
67
 
68
  ```
69
  rate_fact -> code (code_id)
70
- -> provider_set (ps_id) -> provider_group (pg_ids)
71
  -> price_list (pl_id) -> price_term (pt_ids)
72
  -> network_set (ns_id) -> network / source_file (network_ids)
73
  ```
@@ -77,7 +82,9 @@ Example with DuckDB (reads only what the query needs):
77
  ```sql
78
  INSTALL httpfs; LOAD httpfs;
79
  CREATE VIEW fact AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/rate_fact/*.parquet';
80
- CREATE VIEW ps AS SELECT ps_id, unnest(pg_ids) AS pg_id FROM 'hf://datasets/ratecommons/cigna/release=2026-10/provider_set/*.parquet';
 
 
81
  CREATE VIEW pg AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/provider_group.parquet';
82
  CREATE VIEW pl AS SELECT pl_id, unnest(pt_ids) AS pt_id FROM 'hf://datasets/ratecommons/cigna/release=2026-10/price_list/*.parquet';
83
  CREATE VIEW pt AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/price_term/*.parquet';
 
27
  data_files:
28
  - split: release_2026_10
29
  path: "release=2026-10/provider_set/*.parquet"
30
+ - config_name: provider_list
31
+ data_files:
32
+ - split: release_2026_10
33
+ path: "release=2026-10/provider_list/*.parquet"
34
  - config_name: provider_group
35
  data_files:
36
  - split: release_2026_10
 
49
 
50
  Every in-network rate Cigna published under the Transparency in Coverage rule, parsed, deduplicated across files and stored as Parquet. Part of RateCommons, a free public dataset of negotiated health care prices. Code: https://github.com/Harshu-Pande/ratecommons
51
 
52
+ Release `2026-10`: 124 source files, 304,777,863 distinct rate facts from 1,928,514,784 published rate rows, 9.6 GB.
53
 
54
  ## Tables
55
 
56
  | Table | Rows | What it holds |
57
  | --- | ---: | --- |
58
+ | `rate_fact` | 304,777,863 | One row per distinct rate fact: a billing code, a provider set and a price list, with the set of networks it appears in (`ns_id`). Sorted by code. 16 parts by billing code. |
59
+ | `network_set` | 13,826 | `ns_id` -> the sorted list of `network_id`s sharing those facts. One file per `rate_fact` part, so a set can repeat across files. |
60
  | `network` | 124 | One row per derived network: distinct file content (size and gzip trailer). |
61
  | `source_file` | 124 | One row per source file: name, URL, size, gzip fingerprint, header, counts, parser flags, and its `network_id`. |
62
  | `code` | 116,566 | Billing codes as published (type, version, code, arrangement), keyed by `code_id`. Descriptor text is withheld where it is licensed (see below). |
63
+ | `provider_set` | 1,659,804 | `ps_id` -> the provider lists (`pli_ids`) a rate applies to. Its ID is the hash of the flattened, sorted group list. |
64
+ | `provider_list` | 130,324 | `pli_id` -> the provider groups (`pg_ids`) of one provider reference as published. |
65
  | `provider_group` | 664,715 | `pg_id` -> TIN (type, normalized value, raw values) and sorted NPI list; `tin_wide` when the file lists NPI 0 (the whole TIN). Business names are hints only. |
66
  | `price_list` | 28,290,701 | `pl_id` -> the price terms (`pt_ids`) of one negotiated_prices list. |
67
  | `price_term` | 9,390,706 | `pt_id` -> one negotiated price: type, amount (`rate_e4` = dollars x 10,000, plus `rate_raw` exactly as published), billing class, setting, service codes, modifiers, expiration date, additional information, parsed revenue-code ranges and flags. |
 
72
 
73
  ```
74
  rate_fact -> code (code_id)
75
+ -> provider_set (ps_id) -> provider_list (pli_ids) -> provider_group (pg_ids)
76
  -> price_list (pl_id) -> price_term (pt_ids)
77
  -> network_set (ns_id) -> network / source_file (network_ids)
78
  ```
 
82
  ```sql
83
  INSTALL httpfs; LOAD httpfs;
84
  CREATE VIEW fact AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/rate_fact/*.parquet';
85
+ CREATE VIEW ps AS SELECT DISTINCT s.ps_id, unnest(l.pg_ids) AS pg_id
86
+ FROM (SELECT ps_id, unnest(pli_ids) AS pli_id FROM 'hf://datasets/ratecommons/cigna/release=2026-10/provider_set/*.parquet') s
87
+ JOIN 'hf://datasets/ratecommons/cigna/release=2026-10/provider_list/*.parquet' l USING (pli_id);
88
  CREATE VIEW pg AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/provider_group.parquet';
89
  CREATE VIEW pl AS SELECT pl_id, unnest(pt_ids) AS pt_id FROM 'hf://datasets/ratecommons/cigna/release=2026-10/price_list/*.parquet';
90
  CREATE VIEW pt AS SELECT * FROM 'hf://datasets/ratecommons/cigna/release=2026-10/price_term/*.parquet';