Skip to contents

Create Groups of Endpoints

Usage

new_group(
  member_names,
  group_name = NULL,
  quick = FALSE,
  offset = 0,
  limit = 10
)

Arguments

member_names

<chr> Alias representing the CMS data endpoint.

group_name

<chr> Name of the group.

quick

<lgl> call quick_() method on group if TRUE.

offset

<int> Offset for pagination.

limit

<int> Limit for pagination.

Value

S7 class_group object.

Examples

new_group(c("hgov_local_help", "hgov_qhp_business"))
#> <class_group>
#>  @ group  : chr "hgov_local_help | hgov_qhp_business"
#>  @ members:List of 2
#>  .. $ hgov_local_help  : <class_endpoint>
#>  ..  ..@ identifier: chr "https://data.healthcare.gov/api/1/datastore/query/3ddf85bc-f71b-4417-b271-410cbf9e0905/0"
#>  ..  ..@ metadata  :List of 6
#>  .. .. .. $ api        : chr "HealthcareGov"
#>  .. .. .. $ title      : chr "Find Local Help"
#>  .. .. .. $ description: chr "CSV output of the Assister and Agent/Broker listing dataset used within the Find Local Help application [1]. Th"| __truncated__
#>  .. .. .. $ modified   : Date[1:1], format: "2025-06-06"
#>  .. .. .. $ periodicity: chr "Daily [R/P1D]"
#>  .. .. .. $ download   : chr "https://data.healthcare.gov/datafile/localhelp/prod/helpers.csv"
#>  ..  ..@ dimensions: <class_dimensions>
#>  .. .. .. @ limit : int 500
#>  .. .. .. @ rows  : int 83157
#>  .. .. .. @ pages : int 167
#>  .. .. .. @ fields:List of 23
#>  .. .. .. .. $ record_id                                   : chr(0) 
#>  .. .. .. .. $ data_set_name                               : chr(0) 
#>  .. .. .. .. $ organization_name                           : chr(0) 
#>  .. .. .. .. $ main_phone_number                           : chr(0) 
#>  .. .. .. .. $ street_address                              : chr(0) 
#>  .. .. .. .. $ city                                        : chr(0) 
#>  .. .. .. .. $ state_or_territory                          : chr(0) 
#>  .. .. .. .. $ zip_code                                    : chr(0) 
#>  .. .. .. .. $ non_english_assistance_offered              : chr(0) 
#>  .. .. .. .. $ organization_acronym                        : chr(0) 
#>  .. .. .. .. $ office_hours                                : chr(0) 
#>  .. .. .. .. $ toll_free_phone                             : chr(0) 
#>  .. .. .. .. $ tty_phone                                   : chr(0) 
#>  .. .. .. .. $ language_line_phone_for_non_english_speakers: chr(0) 
#>  .. .. .. .. $ location_name                               : chr(0) 
#>  .. .. .. .. $ website_url                                 : chr(0) 
#>  .. .. .. .. $ additional_information                      : chr(0) 
#>  .. .. .. .. $ accessibility_service_offered               : chr(0) 
#>  .. .. .. .. $ geo_location                                : chr(0) 
#>  .. .. .. .. $ email_address                               : chr(0) 
#>  .. .. .. .. $ display                                     : chr(0) 
#>  .. .. .. .. $ display_address                             : chr(0) 
#>  .. .. .. .. $ address_comment                             : chr(0) 
#>  .. $ hgov_qhp_business: <class_endpoint>
#>  ..  ..@ identifier: chr "https://data.healthcare.gov/api/1/datastore/query/3yfc-yz8a/0"
#>  ..  ..@ metadata  :List of 6
#>  .. .. .. $ api        : chr "HealthcareGov"
#>  .. .. .. $ title      : chr "QHP Landscape Health Plan Business Rule Variables"
#>  .. .. .. $ description: chr "QHP Landscape Health Plan Business Rule Variables"
#>  .. .. .. $ modified   : Date[1:1], format: "2014-04-16"
#>  .. .. .. $ issued     : Date[1:1], format: "2013-11-26"
#>  .. .. .. $ download   : chr "https://data.healthcare.gov/datafile/qhp-landscape-health-plan-business-rule-variables.3yfc-yz8a.csv"
#>  ..  ..@ dimensions: <class_dimensions>
#>  .. .. .. @ limit : int 500
#>  .. .. .. @ rows  : int 5891
#>  .. .. .. @ pages : int 12
#>  .. .. .. @ fields:List of 19
#>  .. .. .. .. $ standard_component_id                                           : chr(0) 
#>  .. .. .. .. $ issuer_id                                                       : chr(0) 
#>  .. .. .. .. $ issuer_legal_name                                               : chr(0) 
#>  .. .. .. .. $ state                                                           : chr(0) 
#>  .. .. .. .. $ metal_level                                                     : chr(0) 
#>  .. .. .. .. $ market_coverage                                                 : chr(0) 
#>  .. .. .. .. $ on_or_off_exchange                                              : chr(0) 
#>  .. .. .. .. $ sadp_or_qhp                                                     : chr(0) 
#>  .. .. .. .. $ child_only_offering                                             : chr(0) 
#>  .. .. .. .. $ guaranteed_or_estimated_rate                                    : chr(0) 
#>  .. .. .. .. $ how_are_rates_for_contracts_covering_two_or_more_enrollees__e264: chr(0) 
#>  .. .. .. .. $ what_are_the_maximum_number_of_under_age_under_21_dependent_364a: chr(0) 
#>  .. .. .. .. $ what_are_the_maximum_number_of_under_age_under_21_dependent_e6fb: chr(0) 
#>  .. .. .. .. $ is_there_a_maximum_age_for_a_dependent                          : chr(0) 
#>  .. .. .. .. $ what_are_the_maximum_number_of_children_used_to_quote_a_chi_733a: chr(0) 
#>  .. .. .. .. $ are_domestic_partners_treated_the_same_as_secondary_subscribers : chr(0) 
#>  .. .. .. .. $ are_samesex_partners_treated_the_same_as_secondary_subscribers  : chr(0) 
#>  .. .. .. .. $ how_is_age_determined_for_rating_and_eligibility_purposes       : chr(0) 
#>  .. .. .. .. $ what_relationships_between_primary_and_dependent_are_allowe_e280: chr(0) 
new_group(c("hgov_local_help", "hgov_qhp_business"), quick = TRUE)
#> $hgov_local_help
#> # A tibble: 10 × 23
#>    record_id data_set_name    organization_name main_phone_number street_address
#>    <chr>     <chr>            <chr>             <chr>             <chr>         
#>  1 1428646   Agent/Broker (A… NA                7085291060        NA            
#>  2 21643     Certified Appli… Central Texas Co… 5129789015        1210 W. Brake…
#>  3 1362234   Agent/Broker (A… NA                8643990510        28 Plainfield…
#>  4 1307876   Agent/Broker (A… NA                6822945885        971 W 80 TH P…
#>  5 28359     Certified Appli… Community Health… 8019552388        980 Medical D…
#>  6 1450279   Agent/Broker (A… NA                3162086089        1605 E 2nd St…
#>  7 1525446   Agent/Broker (A… NA                4078790006        2796 Club Cor…
#>  8 68200     Certified Appli… JeffCare - a pro… 5048385257        3616 S. I-10 …
#>  9 1373616   Agent/Broker (A… NA                5122988536        NA            
#> 10 94196     Certified Appli… Lifespan Health   7319252300        335 Highway 64
#> # ℹ 18 more variables: city <chr>, state_or_territory <chr>, zip_code <chr>,
#> #   non_english_assistance_offered <chr>, organization_acronym <chr>,
#> #   office_hours <chr>, toll_free_phone <chr>, tty_phone <chr>,
#> #   language_line_phone_for_non_english_speakers <chr>, location_name <chr>,
#> #   website_url <chr>, additional_information <chr>,
#> #   accessibility_service_offered <chr>, geo_location <chr>,
#> #   email_address <chr>, display <chr>, display_address <chr>, …
#> 
#> $hgov_qhp_business
#> # A tibble: 10 × 19
#>    standard_component_id issuer_id issuer_legal_name           state metal_level
#>    <chr>                 <chr>     <chr>                       <chr> <chr>      
#>  1 10191NJ0050001        10191     Freelancers CO-OP of New J… NJ    Silver     
#>  2 10191NJ0040002        10191     Freelancers CO-OP of New J… NJ    Silver     
#>  3 10191NJ0070004        10191     Freelancers CO-OP of New J… NJ    Silver     
#>  4 10191NJ0050003        10191     Freelancers CO-OP of New J… NJ    Platinum   
#>  5 10191NJ0120001        10191     Freelancers CO-OP of New J… NJ    Silver     
#>  6 10191NJ0140002        10191     Freelancers CO-OP of New J… NJ    Silver     
#>  7 10191NJ0050002        10191     Freelancers CO-OP of New J… NJ    Gold       
#>  8 10191NJ0070003        10191     Freelancers CO-OP of New J… NJ    Gold       
#>  9 10191NJ0070001        10191     Freelancers CO-OP of New J… NJ    Bronze     
#> 10 10191NJ0100002        10191     Freelancers CO-OP of New J… NJ    Silver     
#> # ℹ 14 more variables: market_coverage <chr>, on_or_off_exchange <chr>,
#> #   sadp_or_qhp <chr>, child_only_offering <chr>,
#> #   guaranteed_or_estimated_rate <chr>,
#> #   how_are_rates_for_contracts_covering_two_or_more_enrollees__e264 <chr>,
#> #   what_are_the_maximum_number_of_under_age_under_21_dependent_364a <chr>,
#> #   what_are_the_maximum_number_of_under_age_under_21_dependent_e6fb <chr>,
#> #   is_there_a_maximum_age_for_a_dependent <chr>, …
#>