View source: R/simplify_idaifield_resources.R
simplify_single_resource | R Documentation |
This function is a helper to simplify_idaifield()
.
simplify_single_resource(
resource,
replace_uids = TRUE,
find_layers = TRUE,
uidlist = NULL,
keep_geometry = TRUE,
fieldtypes = NULL,
remove_config_names = TRUE,
language = "all",
spread_fields = TRUE,
use_exact_dates = FALSE,
silent = FALSE
)
resource |
One resource (element) from an |
replace_uids |
TRUE/FALSE: Should UUIDs be automatically replaced with the
corresponding identifiers? Defaults is TRUE. Uses: |
find_layers |
TRUE/FALSE. Default is FALSE. If TRUE, adds another column
with the 'Layer' (see |
uidlist |
If NULL (default) the list of UUIDs and identifiers is
automatically generated within this function using |
keep_geometry |
TRUE/FALSE: Should the geographical
information be kept or removed? Defaults is FALSE. Uses: |
remove_config_names |
TRUE/FALSE: Should the name of the project be
removed from field names of the configuration? (Default is TRUE.)
(Should e.g.: test:amount be renamed to amount,
see |
language |
The short name (e.g. "en", "de", "fr") of the language
that is preferred for the fields. Special value "all" (the default) can be
used to return a concatenated string of all available languages.
|
spread_fields |
TRUE/FALSE: Should checkbox-fields be
spread across multiple lists to facilitate boolean-columns for each value
of a checkbox-field? Default is TRUE. Uses: |
use_exact_dates |
TRUE/FALSE: Should the values from any "exact"
dates be used in case there are any? Default is FALSE. Changes outcome of |
silent |
TRUE/FALSE, default: FALSE. Should messages be suppressed? |
A single resource (element) for an idaifield_resources
-list.
## Not run:
simpler_resource <- simplify_single_resource(resource,
replace_uids = TRUE,
uidlist = uidlist,
keep_geometry = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.