Creating corpus metadata

Dear All,

I wanted to ask you a question concerning the creation of a corpus metadata which is necessary to run a wordscores operation.

I have a corpus and a dfm. I have created two docvars called subject and name. Now I am in trouble to create a corpus metadata reporting filenames and docvars. I consulted the metacorpus function guide and other things but I am not able to address this issue.

I would be grateful if anyone could help.

Thank you.

All the best,