GetStatus: Recursively get a website status

Description Usage Arguments Details Value Examples

View source: R/GetStatus.R

Description

Watch over a website on a regular basis.

Usage

1
GetStatus(url, returndata = FALSE)

Arguments

url

the url to watch

returndata

if TRUE, a data.frame is returned. Default is FALSE.

Details

Takes an url, and saves the current website status with name and timestamp. This function is designed to work recursively with crontab.

Value

saves an .RData in your working directory, combining the archives with the current status.

Examples

1
GetStatus("http://colinfay.me", returndata = TRUE)

ColinFay/webmastR documentation built on June 2, 2017, 2:21 a.m.