clean_land_cover: Clean land cover habitat data

View source: R/Clean4Bass.R

clean_land_coverR Documentation

Clean land cover habitat data

Description

This is a general function to clean land cover columns.

Usage

clean_land_cover(land_raw, pattern = "CLC15_", append = "", quiet = FALSE)

Arguments

land_raw

(Spatial) data frame. Land Cover data to be cleaned.

pattern

Character. Pattern to match and replace with 'LC'

append

Character. Text to append to end of land cover code

quiet

Logical. Whether to suppress progress messages.

Value

(Spatial) Data frame with cleaned land cover column names.

Examples

psu_hex_clean <- clean_land_cover(psu_hex_dirty, pattern = "CLC0013_")


dhope/BASSr documentation built on April 12, 2024, 9:54 p.m.