Description Usage Arguments Functions Examples
Add metadata
1 | nz_add_metadata(DSN, table_name, description = NA, legend = NA)
|
DSN |
DSN object extracted from nz_init |
table_name |
name of the table |
description |
table description. if you put it NA it will not update description and legend. |
legend |
legend of the layer. |
nz_add_metadata
: metadata rows to the database. it will remove all the exisiting records.
To be able to render a layer you have to call this function on the table. Everytime you update values for
a key in the table you also need to call this function
1 2 3 4 5 | ## Not run:
DSN <- nz_init("NZSQLF","SPATIAL_SCHEMA")
nz_add_metadata(DSN,"NLULCDATA")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.