Mudanças entre as edições de "Linguagem R:Dataverse"

De BrapciWiki
Ir para navegação Ir para pesquisar
(Criou página com '= Uso do R com o Dataverse = # 1. Load Datavarse library library("dataverse") # 2. Stored as an environment variable called DATAVERSE_KEY and copy the API TOKEN Sys.sete...')
(Sem diferença)

Edição das 18h23min de 13 de agosto de 2021

Uso do R com o Dataverse

# 1. Load Datavarse library  
library("dataverse")
# 2. Stored as an environment variable called DATAVERSE_KEY and copy the API TOKEN
Sys.setenv("DATAVERSE_KEY" = "numeros da chave")
# 3. Specifying the server installation
Sys.setenv("DATAVERSE_SERVER" = "dataverse.nutricao.ufrj.br")
# 4. Checking for "storageIdentifier" for each dataset
dataverse_search("Brazilian Consortium of Maternal and Child Nutrition (CONMAI)", per_page = 40,type = "dataset")[c("name", "type", 
"storageIdentifier", "name_of_dataverse")]