Skip to content
This repository has been archived by the owner on May 10, 2022. It is now read-only.

Latest commit

 

History

History
54 lines (34 loc) · 1.28 KB

README-NOT.md

File metadata and controls

54 lines (34 loc) · 1.28 KB

urltemplate

Build Status

URL templating following RFC6570 (https://tools.ietf.org/html/rfc6570#page-14).

install

remotes::install_github("ropenscilabs/urltemplate")
library(urltemplate)

variables

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"

TODO

  • Implement expand() method
  • test suite
  • vignette

Similar art

Meta

  • Please report any issues or bugs.
  • License: MIT
  • Get citation information for urltemplate in R doing citation(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.

ropensci_footer