View source: R/indicators_foodsec.R
| lcsi | R Documentation | 
LCSI - Livelihood Coping Strategy Index
lcsi(
  .tbl,
  lcs_stress_1,
  lcs_stress_2,
  lcs_stress_3,
  lcs_stress_4,
  lcs_crisis_1,
  lcs_crisis_2,
  lcs_crisis_3,
  lcs_emergency_1,
  lcs_emergency_2,
  lcs_emergency_3,
  level_codes
)
| .tbl | Data | 
| lcs_stress_1 | Component column: Stress strategy 1 | 
| lcs_stress_2 | Component column: Stress strategy 2 | 
| lcs_stress_3 | Component column: Stress strategy 3 | 
| lcs_stress_4 | Component column: Stress strategy 4 | 
| lcs_crisis_1 | Component column: Crisis strategy 1 | 
| lcs_crisis_2 | Component column: Crisis strategy 2 | 
| lcs_crisis_3 | Component column: Crisis strategy 3 | 
| lcs_emergency_1 | Component column: Emergency strategy 1 | 
| lcs_emergency_2 | Component column: Emergency strategy 2 | 
| lcs_emergency_3 | Component column: Emergency strategy 3 | 
| level_codes | Character vector of at responses codes, in the following order: ""Yes", "No, exhausted", "No, no need", "No, not applicable", e.g. c("yes", "exhausted", "no_need", "not_applicable") | 
Fourteen new columns: each strategy recoded (lcs_stress_, lcs_crisis_, lcs_emergency_*), a dummy for each category (lcs_stress, lcs_crisis, lcs_emergency), and the category (lcs_cat).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.