Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ua-parser/uap-r

R implementation of ua-parser
https://github.com/ua-parser/uap-r

Last synced: 3 months ago
JSON representation

R implementation of ua-parser

Awesome Lists containing this project

README

        

uaparser
=========
An implementation of [tobie's ua-parser](http://www.uaparser.org/) in R and C++

__Author:__ Oliver Keyes and Alex Suhan

__License:__ [MIT](http://opensource.org/licenses/MIT)

Installation
=====
Install uaparser through:

>devtools::install_github("ua-parser/uap-r")

Then place regexes.yaml
from the [uap-core](https://github.com/ua-parser/uap-core) repository in the installation directory. In the event
that you don't complete this step, the uaparser will attempt to download the YAML file into a temporary directory
when called, but this is less efficient and not workable for machines without a direct internet connection.

This package no longer works with the old (pre-0.5) version of the `yaml-cpp` library. You will need version 0.5 or later.

Dependencies
======
* R;
* [Rcpp](http://cran.rstudio.com/web/packages/Rcpp/);
* C++11;
* [downloader](http://cran.r-project.org/web/packages/downloader/index.html);
* The [boost-regex](http://www.boost.org/doc/libs/1_57_0/libs/regex/doc/html/index.html) C++ library;
* The [boost-system](http://www.boost.org/doc/libs/1_57_0/libs/system/doc/index.html) C++ library;
* The [libyaml-cpp](https://github.com/jbeder/yaml-cpp/) C++ library, version 0.5 or later.

Contributing upstream
======
Both the [library](https://github.com/ua-parser/uap-r) and the
[regex definitions](https://github.com/ua-parser/uap-core) welcome patches and reported issues! Just submit through GitHub and we'll do our best to merge or fix them promptly.