create_urldummy | R Documentation |
Create an urldummy variable
create_urldummy(wt, dummy, name)
wt |
webtrack data object |
dummy |
a vector of urls that should be dummy coded |
name |
name of dummy variable to create. |
webtrack object with the same columns and a new column called "name" including the dummy variable
## Not run:
data("testdt_tracking")
wt <- as.wt_dt(testdt_tracking)
wt <- extract_domain(wt)
code_urls <- "https://dkr1.ssisurveys.com/tzktsxomta"
create_urldummy(wt, dummy = code_urls, name = "test_dummy")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.