I have many datasets with two variables-essentially the Year and the value. The dataset goes from 1960-2019, however some variables skip a year or two, or are only from 1990-2019, etc. This is an example:
---LND.KM--- ---LND.PERCENT---
Year lnd.km Year lnd.prcnt
2018 315000 2018 13.864
2017 315000 2015 14.203
2016 320000 2014 14.159
2015 322000 2012 13.850
2014 321000
I want to add all of the datasets in to one large dataset, with a Year column spanning from 1960-2019- -and bind each value column to it's actual year it is connected to. Like this:
---------BIG.DF------------
Year lnd.km lnd.prcnt
2019
2018 315000 13.864
2017 315000
2016 320000
2015 322000 14.203
2014 321000 14.159
2013
2012 13.850
How would I achieve this?
Thanks.