list_to_char: Turn list-column into character column

View source: R/fun_cleaning.R

list_to_charR Documentation

Turn list-column into character column

Description

Turns a list into character format: used in EcoservR to fix some MasterMap attributes that import wrongly from certain format (eg GML).

Usage

list_to_char(x)

Arguments

x

A problematic column

Value

A vector of character data. Where the original list element was character(0), this is change to NA. Where the original list element had a vector of multiple terms, these are concatenated with a comma.


ecoservR/ecoserv_tool documentation built on April 5, 2025, 1:49 a.m.