hirs_field_create: Fields

View source: R/fields.R

hirs_field_createR Documentation

Fields

Description

Fields

Usage

hirs_field_create(index, frame, field, type = "int", min, max, ...)

Arguments

index

(character) A character vector of index names

frame

(character) A frame name. required

field

(character) A field name. required

type

(character) A type, only "int". required

min

(integer) minimum value. required

max

(integer) maximum value. required

...

Curl args passed on to crul::HttpClient

Examples

## Not run: 
# first, create an index
hirs_index_create("hello")

# then, create a frame
hirs_frame_create("hello", "world")
hirs_frame_delete("hello", "world")

# then, create a field
hirs_field_create(index="hello", frame="world", 
  field = "prs", type="int", min=0, max=100000L)

## End(Not run)

ropenscilabs/hirsutosa documentation built on May 11, 2022, 6:50 a.m.