course
String Manipulation with stringr in R
MellanliggandeFärdighetsnivå
Uppdaterad 2022-11Börja Kursen Gratis
Ingår medPremie or Lag
RProgramming4 timmar17 videos60 exercises5,150 XP32,724Uttalande om prestation
Skapa ditt gratiskonto
eller
Genom att fortsätta accepterar du våra Användarvillkor, vår Integritetspolicy och att dina uppgifter lagras i USA.Älskad av elever på tusentals företag
Utbilda 2 eller fler personer?
Testa DataCamp for BusinessKursbeskrivning
Förkunskapskrav
Intermediate R1
String basics
You'll start with some basics: how to enter strings in R, how to control how numbers are transformed to strings, and finally how to combine strings together to produce output that combines text and nicely formatted numbers.
2
Introduction to stringr
Time to meet stringr! You'll start by learning about some stringr functions that are very similar to some base R functions, then how to detect specific patterns in strings, how to split strings apart and how to find and replace parts of strings.
3
Pattern matching with regular expressions
In this chapter you'll learn about regular expressions, a language for describing patterns in strings. By combining regular expressions with the stringr functions you'll greatly increase your power to manipulate strings.
4
More advanced matching and manipulation
Now for two advanced ways to use regular expressions along with stringr: selecting parts of a match (a.k.a capturing) and referring back to parts of a match (a.k.a back-referencing). You'll also learn to deal with and strings or patterns that contain Unicode characters (e.g. é).
5
Case studies
Practice your string manipulation skills on a couple of case studies. You'll also learn a few new skills, reading strings into R and handling problems of case (e.g. A versus a).
String Manipulation with stringr in R
Kursen är
Få ett prestationsutlåtande
Lägg till denna inloggningsuppgifter i din LinkedIn-profil, ditt CV eller ditt CVDela det på sociala medier och i ditt prestationssamtal
Ingår medPremie or Lag
Registrera Dig NuGå med över 19 miljoner elever och börja String Manipulation with stringr in R idag!
Skapa ditt gratiskonto
eller
Genom att fortsätta accepterar du våra Användarvillkor, vår Integritetspolicy och att dina uppgifter lagras i USA.