Location: HDX Location

Description Details Public fields Methods

Description

HDX Location

HDX Location

Details

HDX location mostly countries

Public fields

data

placeholder location

Methods

Public methods


Method new()

Create a new Location object

Usage
Location$new(initial_data = NULL, configuration = NULL)
Arguments
initial_data

list with required field to create a dataset

configuration

a Configuration object

Returns

A Location object


Method get_required_fields()

Get dataset required fields

Usage
Location$get_required_fields()
Returns

list of required fields for a dataset


Method check_required_fields()

Check dataset required field

Usage
Location$check_required_fields()
Returns

a logical value, TRUE if the the dataset is not missing a required field and throws an error otherwise


Method browse()

Browser the Location page on HDX

Usage
Location$browse()

Method as_list()

Get location field into list

Usage
Location$as_list()
Returns

a list with dataset field


Method print()

Print a Dataset object

Usage
Location$print()

Method clone()

The objects of this class are cloneable with this method.

Usage
Location$clone(deep = FALSE)
Arguments
deep

Whether to make a deep clone.


dickoa/rhdx documentation built on May 7, 2020, 2 p.m.