Adding an external variable in an existing corpus

CorText Manager Q&A forumCategory: Data processingAdding an external variable in an existing corpus
Beadavi asked 3 years ago

Hello,
I would like to enrich a cortext corpus from a WOS import with external data (thematic field, IF etc) using the UT WOS as a key.
How can I proceed please?
Thanks in advance
Béatrice

1 Answers
Lionel Staff answered 3 years ago

Dear Béatrice,
To add extra variables in a corpus, based on an index, you can use Corpus List Indexer:

  1. The new variables should be structure in a TSV (UTF8, tab separated file), with in the first column the index (UT keys) you will find also in the corpus;
  2. Upload it;
  3. Choose Corpus List Indexer script, define the index as the Field, and choose Yes for the Add a dictionary of equivalent strings option;
  4. Run it

Play with the news variables in you corpus which will have the names of the columns of the TSV file!
You can also see the video which show how to add a time variable in a corpus, with similar steps.
I hope it helps
L