Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

kml_description

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


plotKML

Visualization of Spatial and Spatio-Temporal Objects in Google Earth

v0.8-1
GPL
Authors
Tomislav Hengl [cre, aut], Andrea Gilardi [ctb], Pierre Roudier [ctb], Dylan Beaudette [ctb], Edzer Pebesma [ctb], Michael Blaschek [ctb]
Initial release
2021-04-12

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.