Description Usage Arguments Value Examples
View source: R/pcdas_connect.R
This function creates a connection to the ElasticSearch server from the Plataforma de Ciência de Dados aplicada à Saúde (PCDaS). A username and password from PCDaS are needed in order to use this package and can be freely obtained at https://bigdata.icict.fiocruz.br.
1 2 3 4 5 6 7 8 | pcdas_connect(
host = "dados-pcdas.icict.fiocruz.br",
port = 443,
transport_schema = "https",
user,
pwd_mode = "dialog",
pwd_txt
)
|
host |
ElasticSearch cluster address from PCDaS. |
port |
Port number. |
transport_schema |
Only 'https' connection is supported. |
user |
Username at PCDaS. |
pwd_mode |
"dialog" will use an interactive dialog asking for the password. Use "text" to inform the password with 'pwd_txt' (usefull case for automations). |
pwd_txt |
Password in plain text. |
A connection instruction to the PCDaS ElasticSearch cluster.
1 2 | pcdas_connect(user = "your_username")
pcdas_connect(user = "your_username", pwd_mode = "text", pwd_txt = "your_password")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.