CRAN Recipes
eBook - ePub

CRAN Recipes

DPLYR, Stringr, Lubridate, and RegEx in R

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

CRAN Recipes

DPLYR, Stringr, Lubridate, and RegEx in R

About this book

Want to use the power of R sooner rather than later? Don't have time to plow through wordy texts and online manuals? Use this book for quick, simple code to get your projects up and running. It includes code and examples applicable to many disciplines.Written in everyday language with a minimum of complexity, each chapter provides the building blocks you need to fit R's astounding capabilities to your analytics, reporting, and visualization needs.

CRAN Recipes recognizes how needless jargon and complexity get in your way. Busy professionals need simple examples and intuitive descriptions; side trips and meandering philosophical discussions are left for other books.

Here R scripts are condensed, to the extent possible, to copy-paste-run format. Chapters and examples are structured to purpose rather than particular functions (e.g., "dirty data cleanup" rather than the R package name"janitor").Everyday language eliminatesthe need to know functions/packages in advance.

What You Will Learn

  • Carry out input/output; visualizations; data munging; manipulations at the group level; and quick data exploration
  • Handle forecasting (multivariate, time series, logistic regression, Facebook's Prophet, and others)
  • Use text analytics; sampling; financial analysis; and advanced pattern matching (regex)
  • Manipulate data using DPLYR: filter, sort, summarize, add new fields to datasets, and apply powerful IF functions
  • Create combinations or subsets of files using joins
  • Write efficient code using pipes to eliminate intermediate steps (MAGRITTR)
  • Work with string/character manipulation of all types (STRINGR)
  • Discover counts, patterns, and how to locate whole words
  • Do wild-card matching, extraction, and invert-match
  • Work with dates using LUBRIDATE
  • Fix dirty data; attractive formatting; bad habits to avoid


Who This Book Is For

Programmers/data scientists with at least some prior exposure to R.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription.
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, we’ve got you covered! Learn more here.
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Yes! You can use the Perlego app on both iOS or Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Yes, you can access CRAN Recipes by William Yarberry in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Science General. We have over one million books available in our catalogue for you to explore.

Information

Table of contents

  1. Cover
  2. Front Matter
  3. 1. DPLYR
  4. 2. Stringr
  5. 3. Lubridate: Date and Time Processing
  6. 4. Regular Expressions: Introduction
  7. 5. Typical Uses
  8. 6. Some Simple Patterns
  9. 7. Character Classes
  10. 8. Elements of Regular Expressions
  11. 9. The Magnificent Seven
  12. 10. Regular Expressions in Stringr
  13. 11. Unicode
  14. 12. Tools for Development and Resources
  15. 13. RegEx Summary
  16. 14. Recipes for Common R Tasks
  17. 15. Data Structures
  18. 16. Visualization
  19. 17. Simple Prediction Methods
  20. 18. Smorgasbord of Simple Statistical Tests
  21. 19. Validation of Data
  22. 20. Shortcuts and Miscellaneous
  23. 21. Conclusion
  24. Back Matter