Search the Medicare Monthly Enrollment API
Source:R/beneficiary_enrollment.R
beneficiary_enrollment.Rd
Current information on the number of Medicare beneficiaries with hospital/medical coverage and prescription drug coverage, available for several geographical areas.
Usage
beneficiary_enrollment(
year = NULL,
period = NULL,
level = NULL,
state = NULL,
state_name = NULL,
county = NULL,
fips = NULL,
tidy = TRUE
)
Arguments
- year
Calendar year of Medicare enrollment; current options are
2017 - 2022
- period
Time frame of Medicare enrollment; options are
Year
,Month
or any month within the 12-month time span of the month in the data set's version name (listed here)- level
Geographic level of data; options are
National
,State
, orCounty
- state
Two-letter state abbreviation of beneficiary residence
- state_name
Full state name of beneficiary residence
- county
County of beneficiary residence
- fips
FIPS code of beneficiary residence
- tidy
Tidy output; default is
TRUE
.
Value
A tibble containing the search results.
Details
The Medicare Monthly Enrollment data provides current monthly information on the number of Medicare beneficiaries with hospital/medical coverage and prescription drug coverage, available for several geographic areas including national, state/territory, and county. The hospital/medical coverage data can be broken down further by health care delivery (Original Medicare versus Medicare Advantage and Other Health Plans) and the prescription drug coverage data can be examined by those enrolled in stand-alone Prescription Drug Plans and those enrolled in Medicare Advantage Prescription Drug plans. The dataset includes enrollee counts on a rolling 12 month basis and also provides information on yearly trends. The dataset is based on information gathered from CMS administrative enrollment data for beneficiaries enrolled in the Medicare program available from the CMS Chronic Conditions Data Warehouse.
Examples
if (FALSE) { # interactive()
beneficiary_enrollment(year = NULL,
period = "Year",
level = "County",
state = "AL",
county = "Autauga")
beneficiary_enrollment(year = 2021, level = "County", fips = "01001")
beneficiary_enrollment(year = 2022,
period = "July",
level = "State",
state_name = "Georgia")
beneficiary_enrollment(level = "State", fips = "10")
}