nod: Agree modification of session path with the host

Description Usage Arguments Value Examples

View source: R/nod.R

Description

Agree modification of session path with the host

Usage

1
nod(bow, path, verbose = FALSE)

Arguments

bow

object of class polite, session created by polite::bow()

path

string value of path/URL to follow. The function accepts either a path (string part of URL following domain name) or a full URL

verbose

TRUE/FALSE

Value

object of class polite, session with modified URL

Examples

1
2
3
4
5
6
 library(polite)

 host <- "https://www.cheese.com"
 session <- bow(host) %>%
              nod(path="by_type")
 session

polite documentation built on Dec. 1, 2019, 1:10 a.m.