parse_coords: Parse a tuple of numbers read as a string

View source: R/prepare_data.R

parse_coordsR Documentation

Parse a tuple of numbers read as a string

Description

Parse coordinates that were saved as a tuple of Float64 and read in as a string. Much slower than using get_coordref and doing a join.

Usage

parse_coords(coord_tuple)

Arguments

coord_tuple

A string of the form "(1.0, 2.0)"

Value

The two numbers in the tuple

Author(s)

John Best


jkbest2/spatq documentation built on Sept. 22, 2022, 3:22 a.m.