Skip to contents

Convenience function to quickly access various CMS data endpoints. Mostly for debugging purposes.

Usage

quick(alias, offset = 0, limit = 10000)

Arguments

alias

<chr> Alias representing the CMS data endpoint or category.

offset

<int> The offset for pagination. Default is 0.

limit

<int> The maximum number of records to retrieve. Default is 10000.

Value

A data frame containing the requested CMS data.

Examples

quick("revalid_group")
#> # A tibble: 5,000 × 15
#>    `Group PAC ID` `Group Enrollment ID` `Group Legal Business Name`            
#>    <chr>          <chr>                 <chr>                                  
#>  1 6305933532     O20071103000162       'a' Street Clinic Of Chiropractic, Pllc
#>  2 1850813254     O20250314001303       1 Care Partners Llc                    
#>  3 1850813254     O20250325000280       1 Care Partners Llc                    
#>  4 3274795547     O20120502000499       1 Community Wellness & Health Inc      
#>  5 1658693460     O20141205001656       1 Cp Place Pllc                        
#>  6 1658693460     O20141205001656       1 Cp Place Pllc                        
#>  7 5890010177     O20150209000022       1 Hour Eyedocs, Llc                    
#>  8 6204378193     O20240606002709       1 Identity Counseling, Llc             
#>  9 4789081530     O20210922000917       1 Love Wellness Society Llc            
#> 10 4789081530     O20210922000917       1 Love Wellness Society Llc            
#> # ℹ 4,990 more rows
#> # ℹ 12 more variables: `Group State Code` <chr>, `Group Due Date` <chr>,
#> #   `Group Reassignments and Physician Assistants` <chr>, `Record Type` <chr>,
#> #   `Individual Enrollment ID` <chr>, `Individual NPI` <chr>,
#> #   `Individual First Name` <chr>, `Individual Last Name` <chr>,
#> #   `Individual State Code` <chr>, `Individual Specialty Description` <chr>,
#> #   `Individual Due Date` <chr>, …
quick("out_img_national")
#> # A tibble: 4 × 6
#>   measure_id measure_name                     score footnote start_date end_date
#>   <chr>      <chr>                            <chr> <chr>    <chr>      <chr>   
#> 1 OP_10      Abdomen CT Use of Contrast Mate… 5.8   NA       07/01/2022 06/30/2…
#> 2 OP_13      Outpatients who got cardiac ima… 3.7   NA       07/01/2022 06/30/2…
#> 3 OP_39      Breast Cancer Screening Recall … 9     NA       07/01/2022 06/30/2…
#> 4 OP_8       MRI Lumbar Spine for Low Back P… 36.2  NA       07/01/2022 06/30/2…
quick("hgov_nipr_state")
#> # A tibble: 31 × 5
#>    resident_state  appointment_level_loa                     approved_class_type
#>    <chr>           <chr>                                     <chr>              
#>  1 Arizona (AZ)    "N/A"                                     "Insurance Produce…
#>  2 California (CA) "N/A"                                     "RESIDENT INSURANC…
#>  3 Colorado (CO)   "N/A"                                     "Resident producer"
#>  4 Delaware (DE)   "N/A"                                     "Insurance Produce…
#>  5 Florida (FL)    "0240 HEALTH;\n0215 LIFE VA AND HLTH;\n0… "Agent"            
#>  6 Hawaii (HI)     "Accident & Health or Sickness"           "Insurance Produce…
#>  7 Idaho (ID)      "N/A"                                     "N/A"              
#>  8 Indiana (IN)    "N/A"                                     "N/A"              
#>  9 Iowa (IA)       "N/A"                                     "N/A"              
#> 10 Kansas (KS)     "N/A"                                     "N/A"              
#> # ℹ 21 more rows
#> # ℹ 2 more variables: approved_license_level_loa <chr>,
#> #   licensing_authority <chr>