find_object: find_object

Description Usage Arguments Examples

View source: R/find_object.R

Description

Finds objects.

Usage

1
2
3
4
5
6
7
8
find_object(url, repositoryName = "Foundation", location = NULL,
  locationRecursive = TRUE, objectId = NULL, objectType = NULL,
  publicType = NULL, nameEquals = NULL, nameStarts = NULL,
  nameContains = NULL, nameRegex = NULL, descriptionContains = NULL,
  descriptionRegex = NULL, createdGt = NULL, createdLt = NULL,
  modifiedGt = NULL, modifiedLt = NULL, tableLibref = NULL,
  tableDBMS = NULL, includeAssociations = FALSE,
  includePermissions = FALSE, asDataFrame = FALSE)

Arguments

url

URL of the server with installed SAS9API.

repositoryName

Repository name.

location

Folder location to search in.

locationRecursive

logical. Defines whether search should be done in subfolders.

objectId

SAS Metadata object ID.

objectType

SAS Metadata object type.

publicType

Comma-separated list of target PublicType attributes.

nameEquals

Search criteria: name matches (case-insensitive).

nameStarts

Search criteria: name starts with (case-insensitive).

nameContains

Search criteria: name contains (case-insensitive).

nameRegex

Search criteria: name matches regex.

descriptionContains

Search criteria: description contains (case-insensitive).

descriptionRegex

Search criteria: description matches regex.

createdGt

Search criteria: MetadataCreated greater than (ISO datatime format).

createdLt

Search criteria: MetadataCreated lower than (ISO datatime format).

modifiedGt

Search criteria: MetadataModified greater than (ISO datatime format).

modifiedLt

Search criteria: MetadataModified lower than (ISO datatime format).

tableLibref

Search criteria: libref name for associated library object for a table. For table types only.

tableDBMS

Search criteria: DBMS engine name for associated library object for a table. For table types only.

includeAssociations

logical. Defines whether to include object associations in the search.

includePermissions

logical. Defines whether to include metadata object permissions in the search.

asDataFrame

logical. Determines the content of the response returned by the function. If FALSE, the function will return full JSON response. If TRUE, the function will return only payload part of the response transformed into a dataframe.

Examples

1
2
find_object(url, nameStarts = "customer", nameContains = "group",
publicType = "Column", asDataFrame = TRUE)

anlaytium-group/rsas9api documentation built on Nov. 2, 2019, 1:54 p.m.