guessFiletype: Automatically Detect File Type

View source: R/fun_import.R

guessFiletypeR Documentation

Automatically Detect File Type

Description

Not intended to be called by user. Used in pre-processing to detect whether spatial files (vector data) are in an acceptable format. Accepted file extensions are "gpkg", "shp", "json", "gz", "gml", "tab".

Usage

guessFiletype(path)

Arguments

path

Folder where files are stored

Value

A character string to be fed into loadSpatial.


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