One of the things that makes OLCs useful is that they can shortened - you can trim
characters off them, saving space without substantially compromising the accuracy. shorten_olc
takes full-length OLCs (generated with encode_olc or any other way) and shortens them.
Usage
shorten_olc(olcs, lats, longs)
Arguments
olcs
a vector of open location codes, generated with encode_olc or through
any other means.
lats
a numeric vector of latitudes.
longs
a numeric vector of longitudes, equivalent in size to lats.