tidbitr offers handy functions that will be a shorthand for data analysis.

CopyToClipboard

library(dplyr)
library(tidbitr)

census %>%
  tidbitr::CopyToClipboard(quote = F) 

Similarly CopyFromClipboard can be used to read dataframe contents from the clipboard.

Freq

Freq(census)
Freq(census)$State
Freq(census, 50, "d") 

Recon

list1
list2
Recon(list1, list2)

Stat

Stat(mtcars)

GetXMLNodes

GetXMLNodes(xml2::read_xml("https://www.w3schools.com/xml/simple.xml"))
GetXMLNodes(xml2::read_xml("https://www.w3schools.com/xml/simple.xml"), "calories")

Check the xml yourself



neemtreeparrot/tidbitr documentation built on May 23, 2019, 1:31 p.m.