Report templates and helper functions for EPI

add_weights | Add a column of weights to a data frame |

age_categories | Create an age group variable |

attack_rate | Rates and Ratios |

available_sitrep_templates | Display the available sitrep templates |

check_sitrep_templates | Run the templates found in the sitrep package. |

descriptive | Produces counts with respective proportions from specified... |

find_breaks | Automatically calculate breaks for a number |

find_date_cause | Find the first date beyond a cutoff in several columns |

fmt_ci | Helper to format confidence interval for text |

fmt_count | Counts and proportions inline |

gen_polygon | Fake spatial data as polygons This function returns a polygon... |

gen_population | Generate population counts from estimated population age... |

msf_dict | MSF data dictionaries and dummy datasets |

plot_age_pyramid | Plot a population pyramid (age-sex) from a dataframe. |

rename_redundant | Cosmetically relabel all columns that contains a certain... |

sample_size | Compute a sample size for a proportion (WIP) |

sample_size_households | Take a sample size of children and convert it to households... |

stratify_zscores | Stratifies z-scores by variables in the survey data |

survey_ciprop_foreach_binary_variable | Compute summary statistics for a list of binary variables |

suvery_ciprob | Compute summary statistics for a single binary variable |

suvery_ciprob_stratified | Compute stratified summary statistics for a binary variable |

tabulate_survey | Tabulate survey design objects by a categorical and another... |

unite_ci | Unite estimates and confidence intervals |

univariate_analysis | Produce risk ratios or odds ratios |

zcurve | Create a curve comparing observed Z-scores to the WHO... |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.