hadley / ggplot2-book

ggplot2: elegant graphics for data analysis
https://ggplot2-book.org/
1.57k stars 686 forks source link

Proposal for the space-time chapter #158

Closed djnavarro closed 4 years ago

djnavarro commented 5 years ago

I've been thinking about the strategy for this chapter. Before doing anything, some thoughts on structure. As it stands the chapter covers:

Assumption: my interpretation of the new title is that "time" is not intended to refer to time series data since those drawn in the usual way time plotted on the x-axis. Instead, I am assuming that time refers to animation

As a first step, my plan is the following:

Other things I'm thinking about:

Does that sound like a good starting point? If so, I'll get started on this.

hadley commented 5 years ago

I mostly included time because I always want to write space-time, so I think we could totally drop time. Animation seems different enough to belong in a different chapter? And maybe rayshader too? Maybe a separate network chapter would be worthwhile? I could make @thomasp85 write it 😉

Otherwise strategy sounds good - I think we should definitely drop sp in favour of sf, and it's probably worthwhile to explore more of the different types of spatial data. Not sure if there's any connection to stars?

djnavarro commented 5 years ago

Okay, I'm on it! I think the 'space-time" part made me think more in terms of breadth than depth. I'll follow your suggestions and put something together

hadley commented 5 years ago

TBH this could probably now be mostly just about geom_sf() and coord_sf(); I think there are enough details that there's a chapter's worth of material.

hadley commented 4 years ago

For raster maps, I think stars is probably the way to go, along with whatever the best way to get rasterised base layers is. (Or is there now a way to get vectorised base layers? I know that's where web mapping has been heading)