Skip to content
Useful functions for the Brazilian Jurimetrics Association
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R
inst
man
tests
.Rbuildignore
.gitattributes
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
README.md
abjutils.Rproj
appveyor.yml
cran-comments.md

README.md

abjutils

AppVeyor build status Travis-CI Build Status CRAN_Status_Badge

Overview

abjutils is a toolkit with some useful functions widely used by the Brazilian Jurimetrics Association. Most functions help deal with lawsuit identification numbers (unified by CNJ, the National Council of Justice), while the rest are supposed to help ASCII-compliance and other formatting issues.

To install this package, simply run:

# To install CRAN version
install.packages("abjutils")

# To install GitHub (dev) version
install.packages("devtools")
devtools::install_github("abjur/abjutils")

Usage

abjutils has many functions, but the most useful are listed below

  • rm_accent: removes diacritics from a string

  • escape_unicode: replaces accented characters by their unicode-escaped values (also an add-in)

  • pvec: a safe and protected vectorizer useful for things such as web scrapers

Citations

To cite this package, use citation("abjutils"):

To cite package ‘abjutils’ in publications use:

  Julio Trecenti and Fernando Correa (2014). abjutils:
  Useful Tools for Jurimetrical Analysis Used by the
  Brazilian Jurimetrics Association. R package version
  0.0.1. https://github.com/abjur/abjutils

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {abjutils: Useful Tools for Jurimetrical Analysis Used by the Brazilian Jurimetrics Association},
    author = {Julio Trecenti and Fernando Correa},
    year = {2014},
    note = {R package version 0.0.1},
    url = {https://github.com/abjur/abjutils},
  }
You can’t perform that action at this time.