read_tables: Read tabular data - either spatial layer (i.e. a table in a...

View source: R/fct_read_tables.R

read_tablesR Documentation

Read tabular data - either spatial layer (i.e. a table in a GeoPackage) or csv file.

Description

Read tabular data - either spatial layer (i.e. a table in a GeoPackage) or csv file.

Usage

read_tables(uploads, lyr)

Arguments

uploads

Data frame generated from list_layers indicating names, file types, and paths to uploaded layers.

lyr

User selected layer - this is used for selecting the relevant layer from a GeoPackage with many layers.

Value

a (spatial) data frame of the selected layer.


livelihoods-and-landscapes/maplandscape documentation built on March 20, 2023, 5:43 a.m.