idf_show_categories: Show the _categories_ Present in an 'idaifield_docs'- or...

View source: R/select_idaifield.R

idf_show_categoriesR Documentation

Show the categories Present in an idaifield_docs- or idaifield_resources-list

Description

Returns a list of all categories present in the iDAI.field 2 / Field Desktop database the list was imported from.

Usage

idf_show_categories(idaifield_docs)

Arguments

idaifield_docs

An an idaifield_docs- or idaifield_resources-list as returned by get_idaifield_docs() or idf_query(), idf_index_query() and idf_json_query().

Value

A character vector with the unique categories present in the iDAI.field 2 / Field Desktop database the list was imported from.

Examples

## Not run: 
connection <- connect_idaifield(serverip = "127.0.0.1",
                                user = "R",
                                pwd = "hallo",
                                project = "rtest")

idaifield_docs <- get_idaifield_docs(connection = connection)

idf_show_categories(idaifield_docs)

## End(Not run)


lsteinmann/idaifieldR documentation built on April 3, 2025, 2:06 p.m.