I am using putdocx to compose individual reports for study participants. It contains graphs, tables and text specific to the iindividual. I wish to insert the name and adress of the individual on their report. the dataset has a string variable name_ad which contains the name and adress of the person. There are 2 unique identifiers namely farmid (numerical eg farmid==10) and a string identifier stringid (eg "10_"). ie I want to code to insert the name_ad content for a specific farmid in the document. I am using Stata 16. Any suggestions would be gratefully received
Thanks
Dai Grove-White, University of Liverpool, UK