random_useragent {Randomuseragent}R Documentation

randomly choosing an user-agent string, given a set of conditions

Description

randomly choosing an user-agent string, given a set of conditions

Usage

random_useragent(
  min_obs = 5000,
  software_name = NULL,
  software_type = "browser",
  operating_system_name = "Windows",
  layout_engine_name = NULL
)

Arguments

min_obs

minimum number observed for any given UA string, default 5000

software_name

e.g. "Chrome", "Safari", "Firefox", "Edge", etc

software_type

e.g. "browser", "bot", "application"

operating_system_name

e.g. "Windows", "Linux", "Mac OS X", "macOS", etc

layout_engine_name

e.g. "Gecko", "Blink", etc

Value

a random user agent string, given filter conditions

Examples

random_useragent()

[Package Randomuseragent version 0.0.1 Index]