Hello everyone,

Hope you are well.

I have a question regarding appending multiple documents and whether it is possible to append them using Stata.

I know I am supposed to put a data example but I dont really have a good way of putting data here, so I will use sysuse auto to just give an idea.

Code:
sysuse auto, clear

scatter price mpg || lfit price mpg
graph export "C:\Users\Username\Desktop\folder1\Graph1.pdf", as(pdf) name("Graph1")

scatter mpg price || lfit mpg price
graph export "C:\Users\Username\Desktop\folder2\Graph2.pdf", as(pdf) name("Graph2")
From the code, you can see that the 2 pdf documents are stored in 2 different folder. What I am interested in doing is appending Graph2 with Graph1 given that their starting name "Graph" is similar.

Now that I have given a dataset example, let me tell exactly what i need to do.

I would like to append a CV to a cover page using Stata for each person. I believe it is possible using file write and file open command however, I am not sure how to go about it.

Each person has a unique ID assigned to them and all these documents start with that unique ID (which in the example is "Graph").

Will be great if someone can help me with this. Let me know if you require more clarity on this.

Thank you.