Great R packages for data import, wrangling, and visualization
Briefly

Great R packages for data import, wrangling, and visualization
"data wrangling purrr makes it easy to apply a function to each item in a list and return results in the format of your choice. It's more complex to learn than the older plyr package, but also more robust. And, its functions are more standardized than base R's apply family - plus it's got functions for tasks like error-checking. CRAN. map_df(mylist, myfunction) More: Charlotte Wickham's purr tutorial video, the purrr cheat sheet PDF download, easy error checking with purrr's possibly. Hadley Wickham"
"data import Base R handles most of these functions; but if you have huge files, these packages offer faster and standardized way to read CSVs and similar files into R. readr has been around for awhile; vroom is a speedier alternative, useful for larger data sets. Eventually the packages may merge. data.table's fread() is another useful alternative. CRAN. read_csv(myfile.csv) or vroom(myfile.csv) Hadley Wickham (readr), Jim Hester (vroom)"
"data import Data copy and paste: Meet reproducible research. If you've copied data from the Web, a spreadsheet, or other source into your clipboard, datapasta lets you paste it into R as an R object, with the code to reproduce it. It includes RStudio add-ins as well as command-line functions for transposing data, turning it into markdown format, and more. CRAN. df_paste() to create a data frame, vector_paste() to create a vector. Miles McBain"
dplyr is essential for data-munging with data frames and for operating on data by categories. purrr simplifies applying functions to list elements and returns results in chosen formats, offering standardized, robust alternatives to plyr and base apply functions, plus error-checking. readr and vroom provide faster, standardized CSV import for large files; data.table's fread() is another option. Hmisc supplies analysis utilities like describe and Cs for convenient summaries and quoted string vectors. datapasta converts clipboard data into reproducible R objects with RStudio add-ins and command-line functions for transposition and markdown output.
Read at Computerworld
Unable to calculate read time
[
|
]