Whenever I run the merge command in Step 3, my table condenses to just 2 rows and doesn't look right when I map it. Here is my code, and an image of what is happening in my table.
As you can see below, flg.pop1 and flg.pop2 make a combined total of 30 rows, which is reflected in flg.pop, but when I merge them into flg, it goes down to 2 rows.
I tried running it for San Francisco, and when I did the merge it went down to 0 rows!
Whenever I run the merge command in Step 3, my table condenses to just 2 rows and doesn't look right when I map it. Here is my code, and an image of what is happening in my table.
As you can see below, flg.pop1 and flg.pop2 make a combined total of 30 rows, which is reflected in flg.pop, but when I merge them into flg, it goes down to 2 rows.
I tried running it for San Francisco, and when I did the merge it went down to 0 rows!