### script to write example csv to be read in weight_csv ----------------------
library(readr)
library(WWC)
write_csv(texassurvey, "inst/extdata/examplesurvey.csv")
write_csv(weight_wwc(twostatessurvey, sex, raceethnicity),
"inst/extdata/weightedsurvey.csv")
write_csv(weight_wwc(tinysurvey, sex, raceethnicity),
"inst/extdata/tinysurvey.csv")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.