I have a data-set that pulls the variables of interest but arranges them in rows when ideally they would be in separate columns. It looks like this
GEOID NAME VARIABLE VALUE
00601 ZCTA5 00601 PCT023003 17285
2 00601 ZCTA5 00601 PCT023004 572
3 00601 ZCTA5 00601 PCT023006 5
4 00601 ZCTA5 00601 P004001 18570
5 00602 ZCTA5 00602 PCT023003 35980
6 00602 ZCTA5 00602 PCT023004 2210
7 00602 ZCTA5 00602 PCT023006 22
8 00602 ZCTA5 00602 P004001 41520
and I'd like to have the 4 variables represent 4 columns all tied to the unique ZCTA5 value. How can i transform the data to fit that description. Sorry for poor wording.