Randomly generated "science"

I have a new Twitter bot - it's named Talk About Science. It randomly generates bits of technical language using keywords sourced from a variety of disciplines. I have it generate potential publication titles as well. It's fun, didn't take very long to make, and even comes up with a fun idea every so often, a bit like the Bored George Church account (though that one's not a bot, unless it's a very advanced AI).

Some recent examples:

  • Salmonella enterica requires heuristic pluripotency with vertical capacitance.
  • You fool! I found the multivariant lepidopteran.
  • OpenUFQRJ v2: a C library for cellular crRNA
  • The "galactic frenulum" (GF)
  • Hamlet's Reproduction.
  • biomimetic SaaS

At the very least, if you're writing some bad science fiction* and need a scientist to have some dialogue, follow this bot for some starter material. 

*See also - my go-to example of goofy science-speak.

Hexagonal statebins, or hive-like maps

I was excited to see a hexagonal statebin map on an NPR politics article this week. It reminded me of my exploration of statebins back in March, though obviously I wasn't trying to predict any elections. Remember that basic statebins may look like this:

statebins_ex.jpeg

(There's no meaning to this data - it's just an example.)

The author of the R statebins package made a short walkthrough last year about how to make a hexagonal version. It requires some geometry and geography-specific packages - I ran into some configuration issues with those and couldn't replicate the results - but the provided results look nice. (Potentially related: a hexagonal heatmap.

NPR sure seems to like hexagonal state maps. Someone was apparently inspired by that post and made a straightforward implementation called rGridMap*. Its output looks like this:

rGridMap assumes that the fill variable is categorical rather than continuous.

The overall idea of statebins probably isn't palatable to everyone and I'd suspect that hexagons only exacerbate the issue. The hex approach looks fun, though.

 

*Bucking the trend of "RPackageName" or "rpackagename".