Package: obcost 0.1.0

Tianyue Zang

obcost: Obesity Cost Database

This database contains necessary data relevant to medical costs on obesity throughout the United States. This database, in form of an R package, could output necessary data frames relevant to obesity costs, where the clients could easily manipulate the output using difference parameters, e.g. relative risks for each illnesses. This package contributes to parts of our published journal named "Modeling the Economic Cost of Obesity Risk and Its Relation to the Health Insurance Premium in the United States: A State Level Analysis". Please use the following citation for the journal: Woods Thomas, Tatjana Miljkovic (2022) "Modeling the Economic Cost of Obesity Risk and Its Relation to the Health Insurance Premium in the United States: A State Level Analysis" <doi:10.3390/risks10100197>. The database is composed of the following main tables: 1. Relative_Risks: (constant) Relative risks for a given disease group with a risk factor of obesity; 2. Disease_Cost: (obesity_cost_disease) Supplementary output with all variables related to individual disease groups in a given state and year; 3. Full_Cost: (obesity_cost_full) Complete output with all variables used to make cost calculations, as well as cost calculations in a given state and year; 4. National_Summary: (obesity_cost_national_summary) National summary cost calculations in a given year. Three functions are included to assist users in calling and adjusting the mentioned tables and they are data_load(), data_produce(), and rel_risk_fun().

Authors:Tianyue Zang [aut, cre, cph], Thomas Woods [aut], Tatjana Miljkovic [aut]

obcost_0.1.0.tar.gz
obcost_0.1.0.zip(r-4.5)obcost_0.1.0.zip(r-4.4)obcost_0.1.0.zip(r-4.3)
obcost_0.1.0.tgz(r-4.4-any)obcost_0.1.0.tgz(r-4.3-any)
obcost_0.1.0.tar.gz(r-4.5-noble)obcost_0.1.0.tar.gz(r-4.4-noble)
obcost_0.1.0.tgz(r-4.4-emscripten)obcost_0.1.0.tgz(r-4.3-emscripten)
obcost.pdf |obcost.html
obcost/json (API)
NEWS

# Install 'obcost' in R:
install.packages('obcost', repos = c('https://zangt2.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Datasets:

On CRAN:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.70 score 155 downloads 3 exports 21 dependencies

Last updated 2 years agofrom:e590d35df4. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 15 2024
R-4.5-winOKNov 15 2024
R-4.5-linuxOKNov 15 2024
R-4.4-winOKNov 15 2024
R-4.4-macOKNov 15 2024
R-4.3-winOKNov 15 2024
R-4.3-macOKNov 15 2024

Exports:data_loaddata_producerel_risk_fun

Dependencies:clicpp11dplyrfansigenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr