getLatitudeColumn: Returns the best latitude column name in df data.frame, if...

View source: R/extractRaster.R

getLatitudeColumnR Documentation

Returns the best latitude column name in df data.frame, if one exists.

Description

Returns the best latitude column name in df data.frame, if one exists.

Usage

getLatitudeColumn(df)

Arguments

df

The data.frame, hopefully containing a column for latitude

Value

Returns the best column name for latitude - 'latitude', 'lat', or 'y' respectively, or NULL if none of these column names exists in df


malariaAtlas documentation built on Oct. 27, 2023, 9:07 a.m.