validUrl {wikiTools}R 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)

[Package wikiTools version 1.2.7 Index]