parse_url_path | R Documentation |
Extract info about url path and parameters that follow ?
sign.
parse_url_path(url_path)
url_path |
character with link url |
parse_url_path
allows parsing parameters lists from url. See more in examples.
Note that having query string appear before #!
may cause browser to refresh
and thus reset Shiny session.
list containing two objects:
path
query, a list
parse_url_path("?a=1&b=foo")
parse_url_path("?a=1&b[1]=foo&b[2]=bar/#!/")
parse_url_path("?a=1&b[1]=foo&b[2]=bar/#!/other_page")
parse_url_path("www.foo.bar/#!/other_page")
parse_url_path("www.foo.bar?a=1&b[1]=foo&b[2]=bar/#!/other")
parse_url_path("#!/?a=1&b[1]=foo&b[2]=bar")
parse_url_path("#!/other_page?a=1&b[1]=foo&b[2]=bar")
parse_url_path("www.foo.bar/#!/other?a=1&b[1]=foo&b[2]=bar")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.