used in step3_professional combine all years physician to one dataset and delete who have missing NPI

professionals(
  year,
  data_file_name,
  schema,
  src_root,
  mapping_data = import_mapping
)

Arguments

year

year of medicare data

data_file_name

original medicare dataset names

schema

defined in csv file. default is "professional"

src_root

locations of carrier line on database

mapping_data:

select medicare original vars to mapped vars

Value

combined physician NPI across years

Details

1.read all NPIs info across years from carrier line file 2. rename NPI variable 3. Combine all NPIs and delete NA values