summarize_site_data: Summarize Site Data from Publication, CDC, and SEER

Description Usage Arguments Value

Description

Summarize Site Data from Publication, CDC, and SEER

Usage

1
2
summarize_site_data(publications, seer, cdc, cdc_year = cdc[nchar(year) > 4,
  unique(year)])

Arguments

publications

data.table publication data from running get_publication_data

seer

data.table seer data from running get_seer_data

cdc

data.table cdc data from running get_cdc_data

cdc_year

character The cdc data has results for each individual year and a summary of the last 4 years in the form (YYYY-YYYY). As new data comes in this variable will need to be udpated to match the newest 4 year summary. Default gets the year from the cdc data that has more then 4 characters (all other years are single year YYYY)

Value

data.table Summarized seer data by measure ("incidence", "prevalence", "deaths"), site, and year


outcomesinsights/seermedicare documentation built on Oct. 18, 2020, 4:11 p.m.