HDXObject abstract class
HDXObject abstract class
HDXObject class containing all logic for accessing, creating, and updating HDX objects.
data
placeholder for HDXObject field element
new()
Create a new HDXObject object
HDXObject$new(initial_data = NULL, configuration = NULL)
initial_data
list with required field to create a HDXObject
configuration
a Configuration object
A HDXObject object
update_from_yaml()
Update metadata from yaml file
HDXObject$update_from_yaml(path)
path
(character) Path to YAML metadata
update_from_json()
Update metadata from json file
HDXObject$update_from_json(path)
path
(character) Path to JSON metadata
get_required_fields()
Get HDXObject required fields
HDXObject$get_required_fields()
list of required fields for a resource
check_required_field()
Check HDXobject required field
HDXObject$check_required_field()
a logical value, TRUE if the the resource is not missing a required field and throws an error otherwise
as_list()
Get HDXObject field into list
HDXObject$as_list()
a list with HDXObject field
browse()
Browse HDX
HDXObject$browse()
get_configuration()
Get the current configuration in use
HDXObject$get_configuration()
A configuration object, the configuration in use
print()
Print a Dataset object
HDXObject$print()
clone()
The objects of this class are cloneable with this method.
HDXObject$clone(deep = FALSE)
deep
Whether to make a deep clone.