Skip to contents

This function creates an sf polygon object, .

Usage

os2point(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("SO857197", "TQ327224", "SK797470"))
coords <- os2point(df, grid_ref_col = "gridref")