mb_image {rtrek} | R Documentation |
Memory Beta images
Description
Download a Memory Beta image and return a ggplot object.
Usage
mb_image(url, file, keep = FALSE)
Arguments
url |
character, the short URL of the image, for example as returned by
|
file |
character, output file name. Optional. See details. |
keep |
logical, if |
Details
By default the downloaded file is not retained (keep = FALSE
). The filename
is derived from url
if file
is not provided. Whether or not the output
file is kept, a ggplot object of the image is returned.
Value
a ggplot object
Examples
## Not run: mb_image("File:DataBlaze.jpg")
[Package rtrek version 0.5.0 Index]