Closed peterdesmet closed 6 years ago
@peterdesmet Great idea... but, as my graphical skills are rather limited, I'm opening this question to anyone who likes making logos and feels like designing a wateRinfo dedicated hexbin ;-)
There is a stickerstandard: https://github.com/terinjokes/StickersStandard
Version 0.1 (purposely on actual web resolution, actual version is 300dpi and bigger):
@stijnvanhoey questions:
#339dd3
on a white background (no grid)?For example:
Code
library(wateRinfo)
tide <- get_variables("zes21a-1066") %>%
filter(grepl(".*10min.base", ts_name)) %>%
pull(ts_id) %>%
get_timeseries_tsid(,
from = "2017-11-21 08:00:00",
to = "2017-11-23 23:00:00",
datasource = 2)
ggplot(tide, aes(x = Timestamp, y = Value)) +
geom_line(color = "#339dd3", size = 2) +
theme_void() + theme(legend.position="none")
Updated code:
library(tidyverse)
library(wateRinfo)
tide <- get_variables("zes21a-1066") %>%
filter(grepl("Pv.10", ts_name)) %>%
pull(ts_id) %>%
get_timeseries_tsid(,
from = "2017-11-21 08:00:00",
to = "2017-11-23 23:00:00",
datasource = 4)
plot <- ggplot(tide, aes(x = Timestamp, y = Value)) +
geom_line(color = "#1F6F8A", size = 1.5) +
theme_void() +
theme(legend.position = "none")
ggsave("tide.png", plot, bg = "transparent", units = "cm", width = 10, height = 6)
Website relaunched with logo: https://inbo.github.io/wateRinfo/ Favicon doesn't load by default in my browser yet, but that's just a minor thing.
Fact that favicon doesn't load is a bit of a GitHub pages bug that will be addressed in https://github.com/r-lib/pkgdown/issues/807
@stijnvanhoey, fun challenge for you. 😄
Can be included cf. https://github.com/CornellLabofOrnithology/auk/blob/master/README.Rmd
Collection of HEX logos: http://hexb.in/