validUrl: Find if an URL link is valid.

View source: R/wikiTools.R

validUrlR Documentation

Find if an URL link is valid.

Description

Find if an URL link is valid.

Usage

validUrl(url, time = 2)

Arguments

url

A vector of URLs.

time

The timeout (in seconds) to be used for each connection. Default = 2.

Details

This function checks if a URL exists on the Internet.

Value

A boolean value of TRUE or FALSE.

Author(s)

Modesto Escobar, Department of Sociology and Communication, University of Salamanca. See https://sociocav.usal.es/blog/modesto-escobar/

Examples

validUrl(url="https://es.wikipedia.org/wiki/Weber,_Max", time=2)

wikiTools documentation built on March 24, 2022, 9:05 a.m.