checkNames | R Documentation |
This function checks that the attribute names supplied by user are indeed present in a dataset without importing it, so that a large object is only read when attributes are valid. This function is not meant to be called directly by user but called before importing data.
checkNames(folder, layer = NULL, user_names, name = NULL)
folder |
Folder where spatial file or files are stored |
layer |
Layer name if several layers present in folder |
user_names |
A named vector of attributes, names being the target EcoservR name and items being the actual name in dataset |
name |
The name of the dataset that is being checked, to customise error message if needed |
A list of spatial files
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.