Skip to content

Effectiveness of intervention program on changes in blood glucose, blood pressure, body mass index and waist-to-hip ratio of patients with diabetes in a resource-limited setting in Kenya.

License

Notifications You must be signed in to change notification settings

reinpmomz/Effectiveness_of_intervention_on_blood_glucose-BP-BMI-waist_hip_ratio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Effectiveness_of_intervention_on_blood_glucose-BP-BMI-waist_hip_ratio

Effectiveness of intervention program on changes in blood glucose, blood pressure, body mass index and waist-to-hip ratio of patients with diabetes in a resource-limited setting in Kenya.

Summary

Setup

We are assuming you have R Software and Rstudio IDE installed. If not you can download and install R software then followed by RStudio/Posit IDE.

Data

The data used for analysis can be accessed through APHRC Microdata portal upon proper approvals.

  • Data used for analysis: wdfbaseline_cleaned.dta and wdffollowup_cleaned.dta

Materials

  • The wdf_baseline_followup_recode_file.xlsx file contains:

    1. MetaData about study in the study_title sheet.

    2. Categorization of the locations in the location sheet.

    3. Data dictionary of the baseline data in the rename_vars_baseline sheet.

    4. Data dictionary of the follow-up data in the rename_vars_followup sheet.

    5. selected_vars sheet that contains merged original and new created variables during data cleaning. Guide on variables to be analyzed and visualized.

    6. drop_selected_vars sheet for dropped variables that won't be used in modelling.

    7. model_params sheet with set parameters for imputation and correlation.

Run

After cloning the repository or downloading the ZIP, you also need the data files (Data used for analysis) in the data sub-folder of Effectiveness_of_intervention_on_blood_glucose-BP-BMI-waist_hip_ratio folder.

Open Rstudio then set your working directory to the Effectiveness_of_intervention_on_blood_glucose-BP-BMI-waist_hip_ratio folder.

  • Copy the below code to run all files at once in Rstudio
source("main.R")

  • To run individual files, open the main.R script, and run from the beginning.

About

Effectiveness of intervention program on changes in blood glucose, blood pressure, body mass index and waist-to-hip ratio of patients with diabetes in a resource-limited setting in Kenya.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages