View source: R/write_registry.R
write_registry | R Documentation |
Saves the data of the provided registry structure.
write_registry(structure, x, method = "update", ...)
structure |
character. (Metadata structure type.) One of | ||||
x |
list. Registry structure to upload. | ||||
method |
Desired method. One of | ||||
... |
Further optional arguments:
|
An EconData account is required to use this function. The user must provide an API token, which can be found on the Account page of the online portal. A GUI dialog will prompt the user for their API token.
The functionality provided by write_registry is to save the registry structure according to the function arguments. As this makes modifications to the registry, the user calling this function requires admin privileges.
No return value, called for side-effects—writes data to server.
read_registry
## Not run:
x <- read_registry("codelist", id = "CL_FREQ")
tmp <- tempdir()
write_registry(x, file = file.path(tmp, "frequency.ods"))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.