contains_feature: Check if the sf object contains a specified feature.

View source: R/getPanel.R

contains_featureR Documentation

Check if the sf object contains a specified feature.

Description

Used to check if a simple file object contains a feature. This is an internal only function.

Usage

contains_feature(sf_object, feature_name)

Arguments

sf_object

Simple file object that we want to verify if it contains a feature called feature_name.

feature_name

The feature name we want to find in the simple file object sf_object.

Value

Returns TRUE if the simple file object sf_object contains the feature feature_name. Otherwise FALSE is returned.

Author(s)

Phil Davies.


spbal documentation built on April 4, 2025, 2:05 a.m.