This function downloads source files for the given COCs and tenant_id.

download_source_files(cocs, tenant_id)

Arguments

cocs

A character vector or a list of strings representing the COCs.

tenant_id

A single numeric or character value representing the tenant ID.

Value

A data frame containing the COCs and the corresponding download results.

Examples

  # Set up dummy COCs and tenant_id
  cocs_example <- c("COC001", "COC002", "COC003")
  tenant_id_example <- "12345"

  # Call the download_source_files function
  downloaded_files <- download_source_files(cocs = cocs_example, tenant_id = tenant_id_example)

  # View the results
  print(downloaded_files)