get_seer_data: Get SEER Incidence, Prevalence, and Mortality Data

Description Usage Arguments Details Value

Description

Loops through each link at http://seer.cancer.gov/statfacts/more.html, which contains more information about different cancer sites.

Usage

1
2
get_seer_data(seer_url = "http://seer.cancer.gov/statfacts/more.html",
  link_css_selector = ".alphaList.rpw a")

Arguments

seer_url

character Url to Main SEER cancer fact site that contains links to each cancer

link_css_selector

character CSS selector to select all links to each cancer site

Details

Returns data set with a column for site, year, x (A categorical variable defining what is in the value column. Can be "incidence", "prevalence", or "deaths"), value ( the number associated with the measure in x)

Value

data.table


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