Learn R Programming

dialectR (version 1.0)

get_polygons: Get KML polygon from KML data

Description

Input a KML file path to get KML polygon data

Usage

get_polygons(kml_file_path)

Arguments

kml_file_path

A file path to a KML file.

Value

A dataframe with the columns (area) name, longitude, and latitude.

Examples

Run this code
# NOT RUN {
dutch_polygons <- get_polygons(system.file("extdata", "DutchKML.kml", package="dialectR"))
dutch_polygons
# }

Run the code above in your browser using DataLab