gravatar

mryap

YAP S S

Recently Published

Central Statistics Office (CSO) Ireland Open Data
Before CSO Ireland develop the R data package, this is what I did to access CSO data with R. #RStats #OpenData
reproducible example with reprex()
Use reprex() to generate a reproducible example
hgwellsr package
The goal of hgwellsr package is to provides access to the full texts of 6 novels by H. G. Wells. The plain-text for each novel was sourced and lightly cleaned from Project Gutenberg. Each novel is in a character vector. Currently, the package contains: - timemachine: The Time Machine, (1895) - annveronica : Ann Veronica, (1909) - mrpolly : The History of Mr Polly, (1910) - invisibleman : The Invisible Man, (1897) - doctormoreau : The Island of Doctor Moreau, (1896) - waroftheworlds : The War of the Worlds, (1898) See also https://github.com/mryap/hgwellsr
Set missing values for multiple labelled variables
Using labelled and dplyr package
Cols to Lines Chart
Refer to the codes to see how with ggplot
Tables in Rmarkdown
The easiest way to include tables is by using knitr::kable(), which can create tables for HTML, PDF and Word outputs.
Publish Document
Test Rmd
Example
This RmD runs from https://github.com/binder-examples/r
Document
YAML front-matter of ` .rmd` document to be processed by knitr and the rmarkdown package.
Marketing Channel Attribution
Hide code