Learn R Programming

amadeus (version 1.2.3)

check_urls: Implement check_url_status

Description

Apply check_url_status() function to a sample of download URLs.

Usage

check_urls(urls = urls, size = NULL, method = c("HEAD", "GET", "SKIP"))

Value

logical vector for URL status = 200

Arguments

urls

character vector of URLs

size

number of observations to be sampled from urls

method

httr method to obtain URL ("HEAD" or "GET"). If set to "SKIP", the HTTP status will not be checked and returned.