0

I've got a series of Texts on an Excel File (they are precisely answers to a questionnaire) and I've got to classify them given specific numerical codes which I already have.

For Example: I know that every food-related answer will be categorized with the code "1" and every furniture-related answer with the code "2". Is it possible to use R in order to do this categorization automatically without reading each single text and therefore doing it manually?

The image below should give an example. I've got keywords on the left column and tag numbers for each keywords on the right column. I'd like to tag automatically without manually checking each keyword. Example Image

Thanks in advance.

  • 5
    Welcome. Yes, it's definitely possible, but you will need to provide a [reproducible example](https://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example) of your data to make it easier for someone answer it. Thanks. – user438383 Oct 29 '21 at 15:52

0 Answers0