Myrmidon cartoon – represented as a half-ant, half-human warrior creature – by Horacio Gonzalez.The Myrmidons of Greek myth were known for their loyalty to their leaders, so that in pre-industrial Europe the word "myrmidon" carried many of the same connotations that "robot" does today. wikipedia
What do ants best represent in the cosmos? [Carol] Anelli reports [E.O.] Wilson insisting that they "do it all" and dominate on a number of fronts. They are exceedingly diverse -- predators, farmers, architects -- and are highly social. Delahoyde & Hughes, 2008
Some useful functions you will find in here:
- postcode_data_join: Get postcode data from postcodes.io and join it to an existing df
- batch_it: Turn a vector into a batched list
- patch_join: (AKA coalesce join) Join 2 data frames, using values in
y
to patch NAs inx
- project_mascot: Get a cute emoji mascot for your latest project - or just for your current R session
- reprex_to_gist: Send reprex code and output to a new GH gist (based on Mickaël Canouil's code here)
- theme_linen and theme_clay: my personal ggplot2 themes
- save_it: Wrapper for saveRDS - a quick way to save an object to an
Rds
file - extract_col_types: A helper for
col_types
inreadr::read_csv()
& co. - hcl_msoa_names: A simple function to get the latest House of Commons Library MSOA Names
- commonest: a function that returns the mode (most common value) from a vector
- gmaps_to_sf: Convert Google Maps lat-lon data to a geospatial
sf
object - year_dates: Create vectors of dates for one or more years (and/or months)
- bbox_to_poly: Convert a bbox to an
sf
geospatial polygon (rectangle)
postcodes <- c("HD1 2UT", "HD1 2UU", "HD1 2UV")
test_df1 <- dplyr::tibble(place = paste0("place_", 1:3), postcode = postcodes)
postcode_data_join(test_df1)