cas_get_urls_df: Checks that a given input corresponds to the format expected...

View source: R/cas_download.R

cas_get_urls_dfR Documentation

Checks that a given input corresponds to the format expected of a download data frame, consistently returns expected format

Description

Checks that a given input corresponds to the format expected of a download data frame, consistently returns expected format

Usage

cas_get_urls_df(urls = NULL, index = FALSE, index_group = NULL, ...)

Arguments

url

A character vector or a data frame with at least two columns, id and url

Value

Consistently returns a data frame with at least two columns: a numeric id column, and a character url column.

Examples


cas_get_urls_df(c(
  "https://example.com/a/",
  "https://example.com/b/"
))

giocomai/castarter documentation built on April 23, 2024, 11:14 p.m.