extract_path()
adds the path of a URL as a new column.
The path is defined as the part following the host but not including a
query (anything after a "?") or a fragment (anything after a "#").
Arguments
- wt
webtrack data object
- varname
character. name of the column from which to extract the host. Defaults to
"url"
.- decode
logical. Whether to decode the path (see
utils::URLdecode()
), default to TRUE