Learn R Programming

rstac (version 0.9.2-5)

RSTACDocument: Document development functions

Description

Document development functions

Usage

RSTACDocument(content, q = NULL, subclass = NULL)

Value

The RSTACDocument() function returns a RSTACDocument object with subclass defined by subclass parameter.

Arguments

content

a list data structure representing the JSON file received in HTTP response (see content_response() function)

q

a RSTACQuery object expressing the STAC query used to retrieve the document.

subclass

a character corresponding to the subclass of the document to be created.