Автор: Bill Yarberry
Издательство: Amazon.com Services LLC
Год: 2020
Страниц: 140
Язык: английский
Формат: pdf, azw3, mobi
Размер: 10.1 MB
This short book will get you to regex competence quickly. With simple explanations, Regular Expressions in R lays out practical examples and techniques to speed and simplify your R code. Take advantage of regular expression’s powerful text parsing tools.
Who this book is for:
R developers, data scientists, and general R users will find condensed, ready to use regular expressions used in key R functions such as grep, gsub, regexpr, and others. No regex knowledge needed to get started. With this book, you know that every line of code has been tested in R/RStudio. It is second nature to search google for code you need. Unfortunately, just looking at the code does not indicate its flavor—is it for R, Python, Java, .NET, etc.? Here, it is all R, all the time.
What you will learn:
Regular expression syntax, specifically for R.
Real-world examples such as validation of credit cards/Social Security numbers and extractionand extraction of lower level subdirectories from a file path, and many others.
Metacharacters and character classes.
Escape sequences.
Unicode implementations.
Regex utilities, such as Regex Buddy and free alternatives.
Groups.
Look-forward, look-behind syntax.
Annotated code, uploadable for practice and day-to-day use.
Concise, well organized, working examples of regex syntax and merit meta-characters.
Regular Expressions in R gets beginners up to speed and serves as a reference refresher course for the more experienced. It distills the essence of regular expressions down to a compact, easy-to-follow book.
This handy reference will save you many hours of trial and error coding.
Скачать Regular Expressions in R: Learn regular expressions fast! In five hours develop advanced skills to find complex patterns, improve string manipulations, and develop sophisticated filters