Spring 2018 R Open Lab: Character Strings

Feb 28

For this week, the topic we discussed is character strings in R. This lab’s content is a steppingstone for text  analysis.  We started with introducing the concept of characters, character strings, and character string vectors in R. Then, we talked about operations on strings such as getting substring and combining different character strings.  Finally, we learned about extracting and replacing certain patterns within a text-form data set.

Here is the link to the script for this open lab:

https://drive.google.com/file/d/12Etf6qQtpJPymIYrGRqLiaxt8LchNBUB/view?usp=sharing

Here is a reference for regular expressions in R:

https://www.rstudio.com/wp-content/uploads/2016/09/RegExCheatsheet.pdf

Thank you all for showing up. If you have further question regarding topics covered in the material, please feel free to drop by during next week’s lab or email me or leave a comment.

See you all next week!

2 thoughts on “Spring 2018 R Open Lab: Character Strings

  1. Dr.Bindu Chawla , Ed.D.

    Hello , I wanted to request a sitting in s quantitative research work shop or a one on one for R

    Is it possible to get guidance / i too to the above ?
    Appreciate it very much
    Thanks
    Dr. Bindu Chawla
    bc213@tc.columbia.edu

    Thanks for keeping me posted and

  2. Brett Post author

    Hi! You can register for this event through the website. Go to Digital Center homepage, under “Research Support”, select “Workshops”. Then, you will see a list of coming events. The R Open Lab is 10:00am to 12:00pm every Wednesday. This week’s topic is “The Apply Family”. If there is extra time, I would be happy to discuss your desired topic. Thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *