Loads oncology case data from Brazil provided by DATASUS
Source:R/oncology_case.R
load_oncology_case.RdThis function downloads and organizes data from the Oncology Panel (Painel de Oncologia), part of DATASUS, used in public health and epidemiological analyses.
Arguments
- time_period
A numeric value or vector indicating the year(s) of the data to be downloaded. For example,
2020or2015:2020.- raw_data
Logical. If
TRUE, returns the raw data exactly as provided by DATASUS. IfFALSE(default), returns a cleaned and standardized version of the dataset.- language
A string indicating the desired language of variable names and labels. Accepts
"eng"(default) for English or"pt"for Portuguese.
Value
A data table containing oncology case records from the Oncology Panel of all Brazilian states for the specified period.