Download a Memory Beta image and return a ggplot object.
mb_image(url, file, keep = FALSE)
character, the short URL of the image, for example as returned by
memory_beta()
. Must be JPG or PNG. See example.
character, output file name. Optional. See details.
logical, if FALSE
(default) then file
is only temporary.
a ggplot object
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.
if (FALSE) mb_image("File:DataBlaze.jpg") # \dontrun{}