Percent of Bernie Sanders Vote, 2022 Assembly Districts

Percent of Bernie Sanders Vote, 2022 Assembly Districts

I have been experimenting with using R to calculate ADP and socialist votes for various political districts. After doing some reading up, it turns out the fastest and easier way to calculate such things is to use VTD centroids and spatially join them against the new districts.

With R, it turns out that can be done with like 10 lines of code to make some pretty nice maps and data, although I did the final map layout in QGIS. Overall, with the enacted Assembly districts, 1/3rd of them voted for Bernie Sanders, mostly upstate. This code took less then 10 seconds to run on my old laptop.

library(tidyverse)
library(tigris)
library(sf)

vt20 <- read_csv('2020vote_vtd.csv')
vt20$GEOID <- as.character(vt20$GEOID)

vtd <- voting_districts('ny', cb=T) %>%
inner_join(vt20, by=c('GEOID20'='GEOID')) %>%
st_transform('epsg:3857')

a22 <- read_sf('/home/andy/Documents/GIS.Data/2022 Districts/NY Assembly 2022.gpkg') %>% st_transform('epsg:3857')

join <- vtd %>% st_centroid() %>%
st_join(a22)

join %>% st_drop_geometry() %>%
group_by(DISTRICT) %>%
summarise(socialist = (sum(SANDERS)/sum(SANDERS,CLINTON))*100) %>%
inner_join(a22, by=c('DISTRICT')) %>%
write_sf('/tmp/socialassm.gpkg')

2022 AD Sanders Vote
1 42.8
2 47.1
3 50.4
4 47.5
5 53.1
6 37.6
7 50.2
8 46.2
9 48.6
10 37.5
11 39.2
12 44.7
13 37.6
14 42.1
15 38.4
16 32.0
17 45.7
18 28.6
19 44.9
20 39.0
21 38.3
22 35.4
23 41.9
24 35.2
25 41.8
26 40.6
27 41.0
28 43.5
29 25.9
30 47.1
31 27.6
32 25.7
33 28.7
34 47.1
35 32.3
36 49.5
37 50.1
38 45.3
39 41.3
40 38.6
41 37.3
42 35.6
43 35.6
44 45.9
45 47.6
46 48.0
47 51.9
48 40.7
49 51.9
50 57.1
51 48.5
52 37.7
53 50.3
54 37.3
55 30.4
56 42.4
57 44.5
58 22.3
59 32.9
60 27.0
61 39.2
62 53.6
63 46.0
64 52.4
65 40.9
66 35.7
67 27.1
68 35.9
69 33.6
70 38.4
71 39.4
72 35.7
73 23.4
74 37.6
75 31.9
76 28.8
77 26.7
78 32.3
79 28.6
80 35.4
81 37.0
82 34.0
83 23.0
84 30.5
85 27.8
86 26.8
87 31.3
88 28.9
89 30.0
90 36.5
91 31.0
92 33.2
93 32.2
94 45.7
95 40.6
96 40.7
97 36.0
98 47.1
99 49.6
100 49.3
101 56.0
102 60.2
103 62.3
104 47.9
105 50.3
106 52.8
107 55.5
108 55.9
109 52.6
110 49.1
111 55.2
112 54.0
113 57.9
114 64.0
115 71.4
116 54.2
117 58.4
118 58.1
119 51.9
120 55.7
121 58.2
122 56.9
123 57.3
124 53.8
125 61.8
126 48.9
127 46.6
128 42.5
129 50.8
130 52.9
131 52.5
132 57.2
133 57.4
134 50.1
135 46.0
136 47.9
137 40.2
138 53.8
139 55.2
140 53.6
141 33.6
142 54.7
143 50.4
144 55.1
145 51.3
146 46.5
147 58.3
148 58.2
149 54.2
150 53.5

East Karner Barrens 1973

East Karner Barrens 1973

The East Karner Barrens fifty years ago still look much the same as today due to decades of fights by community activists. Trails are the contemporary routings. 

Snow flurries for the bike ride in 🚲 ❄

It’s not going to discourage me from riding in. I’ve been looking through my phone and noticing how much I’ve been saving on bus fares by riding in – not as much since the time change – but still riding in one direction saves and it’s good exercise. Truth be told though I end up spending more though when I end up stopping to buy groceries mid week on my commute but I guess it’s important to have healthy eats.

Good morning! Snow flurries and 28 degrees in Delmar, NY. ❄ There is a north breeze at 6 mph. 🍃. Things will start to thaw out at around noontime.

Figure ride to work today 🚲 as time is limited. Not much time left in the year or daylight left to do this, especially as I move to that new office 🏢. I’m treasuring that view of the Capitol and the Hudson River as I know soon I’ll be forgoing it for the suburbs but admittedly better pay, more responsibility and a better sounding job title for experience and the future resume building. 📄 Plus it’s a way to use my skills better 👨‍💻 and expand my knowledge.

Noteworthy, 25 days remain until the end of the year. 🗓 I hope you’ve worked to maximize this year to the best of your ability. ⛺ Hoping to get at least one more adventure out in the wilderness maybe two before the end of the year. 🎄 Maybe Madison County in the days leading up to Christmas, but it all depends on how much snow and cold they have. Rensslaerville State Forest is another easy option, though I’d rather to NYE there.

After feeling kind of sick after work 🤮 yesterday evening and cleaning up after changing my pants 👖 💩, feeling better this morning. Too much stevia and cranberries yesterday with the oatmeal for breakfast followed by rice and lentils I guess or maybe I should have cooked the kale better. I have a lot of trouble with cooked oatmeal though fried or baked with bananas or eggs I’m good. I don’t know, I got washed up and showered and it was fine. 🚿 It’s like the pissing and farting problem, a matter of tweaking what I eat 🍽 to meet nutrition goals 🥅 while not destroying my digestive tract in the process.

I think a lot of the problem lately as I’ve gotten out of the habit of soaking lentils overnight 🥘 before cooking them, though I do wash them. I heard that can make them easier to digest. 🤰 Plus I am trying to drink more water with meals, eat slower, and mix things up. I want to include lots of fiber and protein in most meals, but I need to be careful about how many beans and alike I use for cooking. 👩‍🍳 I don’t have as many problems digesting the pea soup, when I make sure to add water and lots of balmastic vinger and not eat too much.

It was probably better to miss the talk by Miko Peled, Israeli-American human rights activist, as he’s really controversial and I didn’t want to go to the event and get caught on TV 📺 by the news 📰 attending it. The thing is if I’m interested in such alternative perspectives I can always watch on my phone 📱. I really try to stay away from controversy today, especially outside of the blog. Nothing in this world is quite as third rail 🚈 dangerous ⚡ as the Isreal 🇮🇱🇵🇸 conflict. Best to keep opinions to yourself. Not that I don’t know what really to believe which is why I kind of wanted to see controversial Miko Peled. Just to hear another view. 🎤 👤

Today will have snow showers. Mostly cloudy 🌨️, with a high of 33 degrees at 1pm. Eight degrees below normal, which is similar to a typical day around January 5th. North wind 6 to 8 mph. Chance of precipitation is 20%. A year ago, we had light rain. The high last year was 54 degrees. Going to likely be that warm come Saturday. The record high of 68 was set in 2001. 12.5 inches of snow fell back in 2003.❄

I was in bed 🛌 by around 7 PM last night, though I did more study of the Udemy course. 📱 Continuing to learn more about machine learning. 🤖 Woke up around 5 AM and started out with a cold glass of water with some apple cider vinger and ginger. Then frying sweet onions, peppers, adding stir-fry vegetables, mushrooms and corn. 👨‍🍳 Then turmeric, red peppers, two eggs scrambled, some corn starch and topped with nutritional yeast. 😋 A delicious meal complemented by coffee with skim milk, cinamon and ginger. ☕ Yum. Power to ride to work and make it through the day.

Solar noon 🌞 is at 11:47 am with sun having an altitude of 24.9° from the due south horizon (-45.9° vs. 6/21). A six foot person will cast a 12.9 foot shadow today compared to 2.2 feet on the first day of summer. The golden hour 🏅 starts at 3:38 pm with the sun in the southwest (232°). 📸 The sunset is in the west-southwest (240°) with the sun dropping below the horizon at 4:23 pm after setting for 3 minutes and 22 seconds with dusk around 4:53 pm, which is 8 seconds earlier than yesterday. 🌇 The best time to look at the stars is after 5:30 pm. At sunset, look for snow 🌨 and temperatures around 31 degrees. There will be a north breeze at 7 mph. Tomorrow will have 9 hours and 13 minutes of daytime, a decrease of one minute and 3 seconds over today.

Spent too much time yesterday trying to figure out what was wrong 😕 with the maps and graphs of landfills vs social deprivation. I realized that the issue was I should be comparing against state-wide numbers and as such have made up graphs and maps of income and race. I will have to revise the Messer deprivation maps later on when I have time. 🗺 At any rate, it’s been an interesting thought and coding experiment. 🤔 Also I am continuing on with my machine learning class, as its gotten further along and more technical, most of the stuff I’m learning is totally new to me.

Tonight will be mostly cloudy 🌫️, with a low of 20 degrees at 3am. Five degrees below normal, which is similar to a typical night around December 25th. Maximum wind chill around 13 at 3am; North wind 6 to 8 mph. In 2022, we had cloudy skies in the evening, which became partly cloudy by the early hours of the morning. It got down to 47 degrees. The record low of -7 occurred back in 1901.

Been enjoying grapefruit for breakfast or as a snack. 🍊 I never thought I’d like grapefruit as I thought they were awful as a child. But at first I was kind of mixed on it, then learning that my mom can no longer have grapefruit being on statins, I learned to treasure the fruit even more. I should enjoy it, as there might come a time I won’t be able to enjoy it. Healthy to boot. Grapefruit and statins is an interesting topic, the chemical interaction is fascinating. The good news is unless you are on certain statins like Liptour for high blood pressure, grapefruit is healthy and delicious.

Continuing to look at houses and land on Zillow. The thing I find so frustrating is there isn’t a lot of tiny houses with a lot of land — everybody seems to be listing the big house in the suburbs. 🏘 I’d like less then 1,000 feet with lots of acres, to have fires 🔥 and have pigs 🐷 or other livestock. I guess there just isn’t as much rural property out there, but it is fun to browse and see what is out there. I’m not serious, I’m just browsing. 🚜

Today in 1902, a coal mine explosion at Monongah, West Virginia, kills 362 workers.🚂 And in 1953, Vladimir Nabokov completes his controversial novel Lolita. 📙 More uplifting is Adrian Kantrowitz performs the first human heart transplant in the United States in 1967. ♥

Mild this weekend but rather gray.☁️ Saturday, mostly cloudy, with a high near 48. Sunday, a chance of rain after 1pm. Mostly cloudy, with a high near 58. Breezy. Chance of precipitation is 50%. Remember it’s mid December. Typical average high for the weekend is 40 degrees.

View into Valley

US wind power generation on course to surpass coal | Reuters

US wind power generation on course to surpass coal | Reuters

LITTLETON, Colorado, Dec 5 (Reuters) - U.S. electricity generation from wind power is on course to surpass coal-fired electricity generation, potentially by 2026, as wind supply growth expands at a record pace just as coal-fired generation is cut across the country.

Coal-fired power remains the second largest source of U.S. electricity behind natural gas, and over the first 10 months of 2023 coal-fired output was roughly 60% greater than total generation from wind sources, data from think tank Ember shows

U.S. wind power generation on track to surpass coal-fired generation But with wind power generation rapidly rising in most regions while utilities steadily cut coal capacity, wind output is on track to eventually overtake coal output within the U.S. electricity generation mix, which will mark a significant milestone in U.S. energy transition efforts.