Searches institutional claim files for specified HCPCS codes in specified years. Supports filtering by HCPCS and optionally by USRDS_IDs. Handles CSV, SAS, and Parquet formats.
Arguments
- hcpcs_codes
Optional character vector of HCPCS codes to search for. If
NULL, all codes are returned.- years
Integer vector of years to include.
- usrds_ids
Optional vector of USRDS_IDs to filter to specific patients.
Examples
if (FALSE) {
get_IN_HCPCS(c("J1234", "A4567"), years = 2012:2016)
get_IN_HCPCS(NULL, years = 2012:2016) # All HCPCS claims
}
