~hrbrmstr/uaparserjs

ref: acf713658065c33923d0213bf66e15399a1df288 uaparserjs/man/ua_parse.Rd -rw-r--r-- 1002 bytes
acf71365hrbrmstr updated regexes 1 year, 15 days ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uaparser.R
\name{ua_parse}
\alias{ua_parse}
\title{Parse a vector of user agents into a data frame}
\usage{
ua_parse(user_agents, .progress = FALSE)
}
\arguments{
\item{user_agents}{a character vector of user agents}

\item{.progress}{if \code{TRUE}, will display a progress bar in interactive mode}
}
\value{
a \code{tibble} with columns for user agent family, major & minor versions
    plus patch level along with os family and major & minor versions plus
    device brand and model.
}
\description{
Takes in a character vector of user agent strings and returns a \code{tibble}
of parsed user agents.
}
\note{
The regex YAML import date: 2020-03-31
}
\examples{
ua_parse(paste0("Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, ",
                "like Gecko) Ubuntu/11.10 Chromium/15.0.874.106 ",
                "Chrome/15.0.874.106 Safari/535.2", collapse=""))
}
\references{
\url{http://www.uaparser.org/}
}