URL templating following RFC6570 (https://tools.ietf.org/html/rfc6570#page-14).
remotes::install_github("ropenscilabs/urltemplate")
library(urltemplate)
Get the set of keywords in a uri template
variables("http:www{.domain*}{/top,next}{?q:20}")
#> [1] "domain" "top" "next" "q"
variables("http://www.{domain}/")
#> [1] "domain"
variables("find{?year*}")
#> [1] "year"
- Implement
expand()
method - test suite
- vignette
- Ruby's addressable
- Python's uritemplate-py
- Please report any issues or bugs.
- License: MIT
- Get citation information for
urltemplate
in R doingcitation(package = 'urltemplate')
- Please note that this package is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.