Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

find_class_generator

Find the R6 class for a Graph object


Description

Find the R6 class for a Graph object

Usage

find_class_generator(props, type_filter = NULL, default_generator = ms_object)

Arguments

props

A list of object properties, generally the result of a Graph API call.

type_filter

An optional vector of types by which to filter the result.

default_generator

The default class generator to use, if a match couldn't be found.

Details

This function maps Graph objects to AzureGraph classes.

Value

An R6 class generator for the appropriate AzureGraph class. If no matching R6 class could be found, the default generator is returned. If type_filter is provided, but the matching R6 class isn't in the filter, NULL is returned.


AzureGraph

Simple Interface to 'Microsoft Graph'

v1.3.0
MIT + file LICENSE
Authors
Hong Ooi [aut, cre], Microsoft [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.