This function can be used to gather docs from an iDAI.field / Field Desktop Database according to the values of specific fields.
Arguments
- connection
A connection settings object as returned by
connect_idaifield()
- field
character. The resource field that should be selected for (i.e. "category" for the category of resource (Pottery, Brick, Layer)).
- value
character. The value to be selected for in the specified field (i.e. "Brick" when looking for resources of category Brick).
- projectname
(deprecated) The name of the project to be queried (overrides the one listed in the connection-object).
See also
Alternative functions:
idf_index_query()
,idf_json_query()
Examples
if (FALSE) {
conn <- connect_idaifield(pwd = "hallo", project = "rtest")
idf_query(conn, field = "category", value = "Brick")
}