gct_translate: Translate text

View source: R/google.R

gct_translateR Documentation

Translate text

Description

Translates text strings using the Google Cloud Translation API.

Usage

gct_translate(q, source = NULL, target, format = "html", key)

Arguments

q

(character vector) Text strings to translate.

source

(character) Source language code. If NULL, it is detected automatically.

target

(character) Target language code.

format

(character) Format of q: "html" or "text".

key

(character) API key

Source

https://cloud.google.com/translate/docs/translating-text


falling-fruit/fruitr documentation built on Dec. 21, 2024, 8:32 p.m.