Extracts all claims from physician/supplier billing data for the selected years, optionally filtering by HCPCS codes and/or USRDS_IDs.
Arguments
- hcpcs_codes
Optional. Character vector of HCPCS codes to filter by. If
NULL, returns all codes.- years
Integer vector of calendar years to include.
- usrds_ids
Optional. Vector of USRDS_IDs to restrict results to.
Examples
if (FALSE) {
get_PS_HCPCS(c("81003", "87086"), years = 2006:2008)
get_PS_HCPCS(NULL, years = 2006:2008) # All HCPCS codes
}
