This take in any features of class 'sf' and returns the rotate version of the geometries:
1  | st_average_lines(ptsa, ptsb, ii, label)
 | 
obj | 
 feature of class 'sf'  | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.