I have datasets that have four common string characters "GTAH" in their names. All the data are in the same working directory. Some of the data have a different number of columns due to additional variables for some of the datasets. However, about 95% of all variables in the datasets are the same. I want to append or bind all the data with this common string character into a single data frame. The list below is an example of the data names in the folder or directory:
XOGTHA213.DTA
ABGTHA587.DTA
IRGTHA987.DTA
CDGTHA398.DTA
NJGTHA783.DTA
KEGTHA197.DTA
DEGTHA037.DTA
SCGTHA002.DTA