Misc functions and tools
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
R
inst
man
src
vignettes
.Rbuildignore
.gitignore
.travis.yml
DESCRIPTION
LICENSE
NAMESPACE
NEWS.md
README.Rmd
README.md
_pkgdown.yml
appveyor.yml
emisc.Rproj

README.md

emisc

License: MIT CRAN_Status_Badge GitHub tag Travis-CI Build Status AppVeyor Build Status Coverage Status DOI

emisc

emisc is a collection of miscellaneous functions that I have made that may or may not be useful, and that may or may not duplicate existing work. Full documentation is available at https://docs.evanodell.com/emisc/.

Functions

case_styles()

  • Convert variable names into one of three styles.

change_case()

  • Changing variable cases.

dateable()

  • A function that locates all variables with “date” in the name (ignoring case), and converts them to POSIXct. Works on both dates and datetimes.

latex_markup()

  • Add LaTeX markup to variables.

strip_bom()

  • A function to strip Byte Order Marks (BOM) out of JSON data that is returned from some online API calls.

tidy_bom()

  • Internal Byte Order Mark stripper for strip_bom

tidy_variables()

  • Strip out most non-alphanumeric characters from variables

write_latex()

  • Write variables to a LaTeX file in rows.

Installation

You can install emisc from github with:

# install.packages("devtools")
devtools::install_github("evanodell/emisc")