as.image {analogsea}R Documentation

Get list of images and their metadata, or a single image

Description

Get list of images and their metadata, or a single image

Usage

as.image(x)

images(
  private = FALSE,
  type = NULL,
  page = 1,
  per_page = 25,
  public = TRUE,
  ...
)

image(id, ...)

Arguments

x

Object to coerce to an image.

private

Include public images? If FALSE, returns only the images that you've created (with snapshots).

type

(character) One of distribution or application. Default: NULL (no type parameter passed)

page

Page to return. Default: 1.

per_page

Number of results per page. Default: 25.

public

Include public images? If FALSE, returns only the images that you've created (with snapshots).

...

Additional arguments passed down to low-level API function (do_*)

id

(numeric) Image id.

Examples

## Not run: 
images()

# list private images
images(private = TRUE)

# list by type
images(type = "distribution")
images(type = "application")

# paging
images(per_page = 3)
images(per_page = 3, page = 2)

## End(Not run)

[Package analogsea version 1.0.7.2 Index]