rearrange_geometries: rearrange_geometries

View source: R/geometries.R

rearrange_geometriesR Documentation

rearrange_geometries

Description

Takes in geometries arranged with with all the lattitudes first and then all the longitudes and returns a series of lattitude and longitude pairs.

Usage

rearrange_geometries(string)

Arguments

string

This is the comma-separated string of lats and corresponding longs (character string expected)

Value

returns a comma-separated string of lat/long pairs

Examples

geometry <- "c(1,2,3,4,5,6)"
rearrange_geometries(geometry)

StatisticsNZ/er.helpers documentation built on Oct. 2, 2023, 7:24 a.m.