Retrieves metadata from Soil and Landscape Grid of Australia soils WCS endpoints in XML or list format.

metadata_soils(
  product = NULL,
  attribute = NULL,
  component = NULL,
  depth = NULL,
  req_type = "desc",
  format = "native"
)

Arguments

product

Character, one of the options from column 'Short_Name' in slga_product_info.

attribute

Character, one of the options from column 'Code' in slga_attribute_info, where 'Type' = 'Soil'.

component

Character, one of 'VAL', 'CLO', or 'CHI'.

depth

Integer, a number from 1 to 6. The numbers correspond to the following depth ranges:

  1. 0 to 5 cm.

  2. 5 to 15 cm.

  3. 15 to 30 cm.

  4. 30 to 60 cm.

  5. 60 to 100 cm.

  6. 100 to 200 cm.

req_type

Character; one of 'cap' or 'desc'. Defaults to 'desc'.

format

Character; one of 'xml' or 'native'. Defaults to 'native'.

Value

A list or xml document object, depending on the value of 'format'.

Examples

# \donttest{ cly_md <- slga::metadata_soils('NAT', 'CLY', format = 'native') # }