parse_grid {jpgrid} | R Documentation |
Parse grid square codes
parse_grid(x, grid_size = NULL, strict = TRUE)
x |
A character vector of grid square codes. |
grid_size |
A grid size. |
strict |
A scalar logical. Should the number of digits in the grid
square code match a given number of digits? By default, |
parse_grid("53394526313")
parse_grid("53394526313", "80km")
parse_grid("53394526313", "80km",
strict = FALSE)