ms_region {conrad}R Documentation

Check if provided region is supported by Speech service

Description

If region is supported, this function returns the region. If not supported, throws a warning message.

Usage

ms_region(region = conrad::region)

Arguments

region

Subscription region for API key. For more info, see https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/regions

Value

Character vector of region

Examples


# Check if westus is supported
ms_region(region = "westus")
# Check if eastus is supported
ms_region(region = "eastus")


[Package conrad version 1.0.0 Index]