User talk:Wizmut

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Welcome to Wikimedia Commons, Wizmut!

-- Wikimedia Commons Welcome (talk) 02:41, 21 March 2023 (UTC)[reply]

File:Brunswick Steam Electric Plant.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

Adeletron 3030 (talk) 19:19, 16 April 2023 (UTC)[reply]

File:San Onofre decomissioning.jpg has been listed at Commons:Deletion requests so that the community can discuss whether it should be kept or not. We would appreciate it if you could go to voice your opinion about this at its entry.

If you created this file, please note that the fact that it has been proposed for deletion does not necessarily mean that we do not value your kind contribution. It simply means that one person believes that there is some specific problem with it, such as a copyright issue. Please see Commons:But it's my own work! for a guide on how to address these issues.

Please remember to respond to and – if appropriate – contradict the arguments supporting deletion. Arguments which focus on the nominator will not affect the result of the nomination. Thank you!

Adeletron 3030 (talk) 19:21, 16 April 2023 (UTC)[reply]

R scripting[edit]

Good afternoon friend,

Carbon per capita

I'm a rookie data scientist who's been using R to create graphs and visualizations. I stumbled across your file "Carbon per capita" (right), and it looks like you're using ggplot2 to render map projections. I wanted to ask what dataframe you're using that includes Alaska and Hawaii? I've got a very similar dataset that I found here[1], but it only includes the contiguous US. Looks exactly like your projection otherwise.

Would you be willing to share your code? Doughbo (talk) 20:46, 5 June 2023 (UTC)[reply]

For sure. I used the 'usmap' package (https://cran.r-project.org/web/packages/usmap/index.html) which should install just fine with install.packages("usmap").
The command to get the map data is
this.map = us_map()
and I like to keep only columns 1,2,6,9. Then I merge it with a csv I cropped manually from the EIA site.
Here is the relevant code:
:carbon = read.csv("state_summary.csv")[c(1,15,16)]
:this.map = us_map()[c(1,2,6,9)]
:carbon.map = merge(carbon,this.map,by.x="State",by.y="full")
:ggplot(carbon.map, aes(State, fill=Carbon_pc)) +
:  geom_polygon(aes(x,y, group=group), color='white') + 
:  map.theme + map.guide +
:  scale_fill_gradientn(name = "CO2 per capita (Mt)", limits = c(0,100), 
:                       colors = c("#c0f0f0","#801010","#100010"),
:                       breaks = seq(0,100,25), labels = seq(0,100,25))
:ggsave("Carbon_per_capita.png",width=8.5,height=6)
:
Let me know if you have any questions. :) Wizmut (talk) 21:32, 5 June 2023 (UTC)[reply]