View source: R/attribute_skeleton.R
attribute_skeleton | R Documentation |
create skeleton from object
attribute_skeleton(object, attr.file, ...)
object |
a regognized R object or vector of file paths that can be read in to a recognized object class |
attr.file |
a file to write the attribute skeleton to |
... |
additional parameters passed to methods |
if the attribute file (attr.file
) doesn't exist, a skeleton formatted file is created.
If the file does exist, it is opened and any new fields are joined in. Existing content in
attr.file
is not overwritten.
## Not run:
attr.file <- tempfile(fileext = '.csv')
attribute_skeleton(system.file(package='meddle','extdata','example_shapefile'), attr.file)
read_attr_file(attr.file)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.