R package to rotate sf objects based on the Urban Demographics blog. The formula is from Stefan Jünger.
The package contains additional functions to crop sf objects and convert points from geometry objects.
This package should be installable with:
devtools::install_github("wtumber/sfRotate")
This is a combined example output using the functions from this packages. The map data is provided as an sf geometry object from the rnaturalearth
package.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.