Skip to content

Instantly share code, notes, and snippets.

View Elhamyali's full-sized avatar

Elham Ali, MPH, PMP Elhamyali

View GitHub Profile
@Elhamyali
Elhamyali / index.html
Created September 14, 2025 18:42 — forked from sitiaish/index.html
Flourish + Scrollama Scrolly
<!doctype html>
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<title>Data story with flourish</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="description" content="how-to-make-a-story">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/css/bootstrap.min.css" integrity="sha384-B0vP5xmATw1+K9KRQjQERJvTumQW0nPEzvF6L/Z6nronJ3oUOFUFpCjEUQouq2+l" crossorigin="anonymous">
@Elhamyali
Elhamyali / gist:a7b3ae0f13b4d9b348f2c9e4555b3aaf
Created August 7, 2024 22:05
Suggested code improvement for Function intent_testing (R package)
# 3. Function intent_testing
#' Intent Testing
#'
#' Generate a dataframe containing paired and unpaired statistical testing results for the HCD intent to implement questions.
#' @param data_name A dataframe containing the HCD intent to implement questions and the timepoint column
#' @param end_timepoint The timepoint to compare against post-intervention
#' @return A dataframe to be used to populate a gtsummary table
#' @export
intent_testing <- function(data_name, end_timepoint) {