extract_geocoverage: Import template for geographic coverage

Description Usage Arguments Details Value

View source: R/extract_geocoverage.R

Description

Import template for describing the geographic coverage of a dataset. The content of this template is automatically extracted from a data table containing geographical coordinates.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
extract_geocoverage(
      path, 
      data.path = path, 
      data.table, 
      lat.col, 
      lon.col, 
      site.col, 
      x = NULL, 
      write.file = TRUE
    )

Arguments

path

(character) Path to where the template(s) will be imported.

data.path

(character) Path to where the data files are stored.

data.table

(character) Data table containing geographic coordinates represented in decimal degrees, where latitudes south of the equator and longitudes west of the prime meridian are negative.

lat.col

(character) Name of latitude column.

lon.col

(character) Name of longitude column.

site.col

(character) Name of site column, where site is the name of the location specified by 'lat.col' and 'lon.col'.

x

(named list) Alternative input/output to 'EMLassemblyline' functions. Use template_arguments to create 'x'.

write.file

(logical) Write 'geographic_coverage.txt' to 'path'.

Details

Existing templates will not be overwritten by subsequent calls to 'extract_geocoverage'.

Value


EDIorg/EMLtools documentation built on May 6, 2019, 3 p.m.