team_one: Converting sf file into a dataframe/ tibble

Description Usage Arguments Details Value Examples

Description

This is a helper fucntion to turn one of these matrices into a single data frame/ tibble with variables long, lat, group and order.

Usage

1
team_one(.file, tolerance=0.1)

Arguments

tolerance

tolerance value used for thinning the polygon

file

read "sf" file

Details

Converting sf format into a data frame

Value

A dataframe or a tibble of the geographic information of the polygons.

Examples

1
 team_one(system.file("shape/nc.shp", package="sf"),0.1)

ashirazist/ggshp documentation built on May 9, 2019, 1:07 a.m.