Skip to contents

get_mdl_from_dv() is a Get function that extracts data from an object. Specifically, this function implements an algorithm to get model from dataverse. The function returns Model (a model).

Usage

get_mdl_from_dv(
  mdl_nm_1L_chr,
  dv_ds_nm_1L_chr = "https://doi.org/10.7910/DVN/JC6PTV",
  dv_nm_1L_chr = "TTU",
  server_1L_chr = "dataverse.harvard.edu",
  key_1L_chr = NULL
)

Arguments

mdl_nm_1L_chr

Model name (a character vector of length one)

dv_ds_nm_1L_chr

Dataverse dataset name (a character vector of length one), Default: 'https://doi.org/10.7910/DVN/JC6PTV'

dv_nm_1L_chr

Dataverse name (a character vector of length one), Default: 'TTU'

server_1L_chr

Server (a character vector of length one), Default: 'dataverse.harvard.edu'

key_1L_chr

Key (a character vector of length one), Default: NULL

Value

Model (a model)