Skip to content

unhcr-iraq/pmt-refugees

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Refugee protection Monitoring

This project is an analysis of the protection monitoring dataset. The project is developped with Rstudio & Github

The code is commented but post issues if needed. Note that you can highlight one element of the code using the following syntax. All you need to do is append something like #L17-L24 to specify highlighting lines 17 to 24. For instance, this URL highlight the loop used to rename the variable and their label based on a codebok the .

To get ready, position your data set (in csv format, call it data.csv) and the form definition in xlsform format.

Please go to code/1-loaddata.R to load the data.

This script will load:

  • 0-packages.R This will activate - and install if not yet installed in your R environment the list of necessary packages for the analysis

  • 1-get-labels-from-form.R in order to recode the full dataset with orginal variable name & lablel based on the xlsform definition of the form. It creates a kind of codebook called datalabel

From there a series of script are looking at the exploration:

Then a report using Rmarkdown will allow to compile the results: 6-protection-monitoring-report.Rmd

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages