attach_to_study: Attach Data API to a study

View source: R/data.R

attach_to_studyR Documentation

Attach Data API to a study

Description

Attach dataset available via API to a study

Usage

attach_to_study(
  db_id,
  table_id,
  idno,
  dataset_title,
  api_key = NULL,
  api_base_url = NULL
)

Arguments

db_id

(required) DB ID

table_id

(required) Table ID

idno

(required) Study unique identifier

dataset_title

(required) Dataset title

api_key

API key (optional if API key is set using set_api_key)

api_base_url

API base endpoint (optional if API base endpoint is set using set_api_url)

Examples


attach_to_study (
  db_id="example",
  table_id="prices",
  idno="survey-idno-test",
  dataset_title = "Dataset title"
)


mah0001/nadar documentation built on March 30, 2024, 2:44 a.m.