The structure of the data currently looks like this
Code:
. list measure_industry_region_year value in 1/15 +---------------------------------------------------------------------------+ | measure_industry_region_year value | |---------------------------------------------------------------------------| 1. | Job destructionAccommodation and food servicesAuckland2005 2835 | 2. | Job destructionAccommodation and food servicesAuckland2006 3067.5 | 3. | Job destructionAccommodation and food servicesAuckland2007 3301.25 | 4. | Job destructionAccommodation and food servicesAuckland2008 3287.5 | 5. | Job destructionAccommodation and food servicesAuckland2009 3152.5 | |---------------------------------------------------------------------------| 6. | Job destructionAccommodation and food servicesAuckland2010 3221.25 | 7. | Job destructionAccommodation and food servicesAuckland2011 3086.25 | 8. | Job destructionAccommodation and food servicesAuckland2012 3793.75 | 9. | Job destructionAccommodation and food servicesAuckland2013 3323.75 | 10. | Job destructionAccommodation and food servicesAuckland2014 3541.25 | |---------------------------------------------------------------------------| 11. | Job destructionAccommodation and food servicesAuckland2015 4018.75 | 12. | Job destructionAccommodation and food servicesAuckland2016 4166.25 | 13. | Job destructionAccommodation and food servicesAuckland2017 4835 | 14. | Job destructionAccommodation and food servicesAuckland2018 5246.25 | 15. | Job destructionAccommodation and food servicesBay of Plenty2005 510 | +---------------------------------------------------------------------------+
Region | Job Destruction_Accomodation | year |
Auckland | 2835 | 2005 |
Auckland | 3067.5 | 2006 |
Best,
Davia
0 Response to Decomposing String Variable While Retaining Adjacent Column Value
Post a Comment