Skip to contents

This function creates an sf polygon object, .

Usage

os2poly(df, grid_ref_col = "grid_ref")

Arguments

df

The data frame, must include a column containing grid references

grid_ref_col

The name of the column containing the grid references

Examples

df <- data.frame(gridref = c("SO85719789", "TQ327224", "SK7974", "TF73G"))
polys <- os2poly(df, grid_ref_col = "gridref")