Logo Lanfrica

joebrew/lendable_malaria

Domain:

healthcaresocioeconomic
Creator:
joe
Host:
Association of malaria and loan repayment in Sub-Saharan Africa Malaria and sugar ================= *An in-depth examination of the effect of malaria control activities on the health and productivity of Maragra sugarcane factory workers* Purpose ======= This code repository serves as the "research compendium" for the analysis of Maragra malaria incidence, malaria control, and worker absenteeism and productivity data. The purpose of this repository - which takes the form of a fully documented R package - is "to integrate the computations and code used in data analyses, methodological descriptions, simulations, etc. with the documents that describe and rely on them" (Gentleman and Lang, 2004). In research, reproducibility is key to transparency and reliability. By using this package, any authorized collaborator will be able to reproduce every step of the analysis and mansucript writing by following the below instructions. Instructions ============ #### 1. Clone this repository (using the following code in bash). $ git clone github.com #### 2. Prepare data First, youĺl need to populate your `data-raw` folder. This is where you should place those files which are not publicly available. These are: ├── HRS - Leave Applications.csv ├── HRS - Leave Applications - Sheet 2.csv ├── HRS - Leave Applications.xls └── maragra_monthly_data.csv If you do not have these files but are an authorized collaborator, email . #### 3. Populate your `credentials.yaml` folder You'll need to send some credentials to the CISM database when accessing it. You should create a `credentials.yaml` file in the `credentials` folder with the following values: dbname: openhds host: sap.manhica.net port: 4706 # (use 3306 instead if based in the CISM) user: xxx password: xxx Note that the `user` and `password` fields should be changed to database credentials provided by the CISM. If you do not have these credentials but are an authorized collaborator, email . #### 4. Process the data The raw data is not in suitable form for ana …