Description Usage Arguments Details Value Examples
Get info on files submitted to Zamzar by account.
1 | zz_get_info(usr = NULL, latest = TRUE)
|
usr |
The username/API key you are using. If not set, the function
will check if a key exists as a |
latest |
Boolean deciding whether or not metadata on all files that have been submitted within a reasonable time frame should be returned. If switched to Defaults to The returned dataframe contains the following columns:
|
Per default zz_get_info()
assumes you want information for the last
submitted file. To get information on all the files that have been submitted
within a reasonable time frame, set parameter latest
to FALSE
.
Please note: objects returned from zz_get_info()
doesn't differentiate
between development or production endpoint. You have to keep track of
this yourself.
Please note that a Zamzar key passed as argument to usr
takes precedence over a
Zamzar key extracted from an .Renviron
.
A dataframe.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# Provided a valid token in .Renvirion, a dataframe of metadata for the last
# submitted file will be returned.
zz_get_info()
# Same as above, we're just passing the key in a variable.
zz_get_info(usr = "key")
# Provided a valid token, will return metadata for all files
# submitted to the API within a reasonable time frame.
zz_get_info(usr = "key", latest = FALSE)
# Same as above, we're just utilizing .Renviron.
zz_get_info(latest = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.