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.7-any)obcost_0.1.0.zip(r-4.6-any)obcost_0.1.0.zip(r-4.5-any)
obcost_0.1.0.tgz(r-4.6-any)obcost_0.1.0.tgz(r-4.5-any)
obcost_0.1.0.tar.gz(r-4.7-any)obcost_0.1.0.tar.gz(r-4.6-any)
obcost_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
obcost/json (API)

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

On CRAN:

Conda:

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

1.70 score 252 downloads 3 exports 20 dependencies

Last updated from:e590d35df4. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK122
source / vignettesOK155
linux-release-x86_64OK131
macos-release-arm64OK149
macos-oldrel-arm64OK250
windows-develOK79
windows-releaseOK70
windows-oldrelOK88
wasm-releaseOK103

Exports:data_loaddata_producerel_risk_fun

Dependencies:clicpp11dplyrgenericsgluelifecyclemagrittrpillarpkgconfigpurrrR6rlangstringistringrtibbletidyrtidyselectutf8vctrswithr