geoflow_format: Geoflow format class

geoflow_formatR Documentation

Geoflow format class

Description

This class models a format

Format

R6Class object.

Details

geoflow_format

Value

Object of R6Class for modelling a format

Public fields

key

format key

name

key name

uri

key URI

description

key description

Methods

Public methods


Method new()

Initializes a geoflow_format

Usage
geoflow_format$new(str = NULL)
Arguments
str

character string to initialize object using key-based syntax


Method setKey()

Sets format key

Usage
geoflow_format$setKey(key)
Arguments
key

key


Method setName()

Sets format name

Usage
geoflow_format$setName(name)
Arguments
name

name


Method setUri()

Sets format URI

Usage
geoflow_format$setUri(uri)
Arguments
uri

URI


Method setDescription()

Sets format description

Usage
geoflow_format$setDescription(description)
Arguments
description

description


Method clone()

The objects of this class are cloneable with this method.

Usage
geoflow_format$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.

Author(s)

Emmanuel Blondel <emmanuel.blondel1@gmail.com>

Examples

## Not run: 
  format <- geoflow_format$new()
  format$setKey("distribution")
  format$setName("text/csv")
  format$setUri("https://www.iana.org/assignments/media-types/text/csv")
  format$setDescription("CSV format")

## End(Not run)


geoflow documentation built on Dec. 12, 2025, 5:08 p.m.