The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.

Type: Package
Title: Filtering and Randomly Sampling Real User-Agent Strings
Version: 0.0.1
Description: Based on data of real user-agent strings, we can set filtering conditions and randomly sample user-agent strings from the user-agent string pool.
License: MIT + file LICENSE
Encoding: UTF-8
Depends: R (≥ 3.5)
Suggests: dplyr, knitr, markdown, rmarkdown
VignetteBuilder: knitr
URL: https://github.com/fangzhou-xie/Randomuseragent, https://fangzhou-xie.github.io/Randomuseragent/index.html
BugReports: https://github.com/fangzhou-xie/randomuseragent/issues
RoxygenNote: 7.1.1
NeedsCompilation: no
Packaged: 2021-06-16 14:57:04 UTC; xiefangzhou
Author: Fangzhou Xie ORCID iD [aut, cre]
Maintainer: Fangzhou Xie <fangzhou.xie@rutgers.edu>
Repository: CRAN
Date/Publication: 2021-06-17 08:00:04 UTC

filter useragents based on criteria

Description

filter useragents based on criteria

Usage

filter_useragent(
  min_obs = 0,
  software_name = NULL,
  software_type = NULL,
  operating_system_name = NULL,
  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

character vector of user agents

Examples

filter_useragent(
  min_obs = 500000,
  software_name = "Chrome",
  operating_system_name = "Linux"
)

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()

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.