kml_description: Generate a table description from a data frame

View source: R/kml_description.R

kml_descriptionR Documentation

Generate a table description from a data frame

Description

Converts a two-column data frame to a table in HTML format. This can then parsed to a KML file as the layer description.

Usage

kml_description(x, iframe = NULL, caption = "Object summary", 
              fix.enc = TRUE, cwidth = 150, twidth = 300, 
              delim.sign = "_", asText = FALSE)

Arguments

x

object of class "data.frame" with two columns

iframe

(optional) iframe content

caption

character; table caption

fix.enc

logical; specify whether to fix encoding

cwidth

numeric; first column width

twidth

numeric; table width

delim.sign

character; delimiter sign

asText

logical; specifies whether to return the formatted table as text or XML

Author(s)

Tomislav Hengl

See Also

kml-methods


Envirometrix/plotKML documentation built on June 13, 2022, 11:21 p.m.