Learn R Programming

verbaliseR (version 0.1)

Make your Text Mighty Fine

Description

Turn R analysis outputs into full sentences, by writing vectors into in-sentence lists, pluralising words conditionally, spelling out numbers if they are at the start of sentences, writing out dates in full following US or UK style, and managing capitalisations in tidy data.

Copy Link

Version

Install

install.packages('verbaliseR')

Monthly Downloads

150

Version

0.1

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Cara Thompson

Last Published

September 21st, 2022

Functions in verbaliseR (0.1)

pluralise

Pluralise words if their accompanying number is not 1
num_to_text

Spell out numbers if they are smaller than ten
prettify_date

Render ordinal dates in UK or US style
restore_capitals

Restore sustom capitalisation in a string
listify

Turn vectors into lists with any specified linking word