idf_query | R Documentation |
This function can be used to gather docs from an iDAI.field / Field Desktop Database according to the values of specific fields.
idf_query(
connection,
field = "category",
value = "Pottery",
projectname = NULL
)
connection |
A connection settings object as
returned by |
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). |
An idaifield_docs
list containing all docs that fit the query parameters.
Alternative functions: idf_index_query()
, idf_json_query()
## Not run:
conn <- connect_idaifield(pwd = "hallo", project = "rtest")
idf_query(conn, field = "category", value = "Brick")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.