View source: R/metadataSweepImport.R
| metadataSweepImport | R Documentation |
Import a dataset and immediately prepare metadata for a declared consumer
profile. The returned session remains reusable for every profile; prepare
controls only which projection is warm when the import returns.
metadataSweepImport(
from,
revision,
prepare = "progressive",
columns = NULL,
fields = NULL,
xml_options = list(),
...
)
from |
Path to a dataset supported by |
revision |
One non-missing atomic revision token for the imported data. |
prepare |
One of |
columns |
Integer positions or unambiguous variable names to prepare.
|
fields |
Optional field groups passed to |
xml_options |
Named arguments passed to the variable XML generator. |
... |
Import arguments passed to |
An object with data, session, and the prepared projection.
Close session with metadataSweepClose() when it is no longer needed.
## Not run:
imported <- metadataSweepImport(
"survey.sav",
revision = 1L,
prepare = "progressive",
columns = 1:20
)
metadataSweepClose(imported$session)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.