I am trying to format my data to allow me to designate it as time series and use the lag and lead opperaters in a regression.

I have data on ~180 countries and yearly data on factors such as HDI, Gini coefficient and average income. Currently, each variable and each year is its own variable.
(ie I have HDI1990, HDI1991....... and Gini1990, Gini1991........ )