Checks that a given input corresponds to the format expected of a download data frame, consistently returns expected format
Source:R/cas_download.R
cas_get_urls_df.RdChecks that a given input corresponds to the format expected of a download data frame, consistently returns expected format
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/"
))
#> # A tibble: 2 × 2
#> id url
#> <int> <chr>
#> 1 1 https://example.com/a/
#> 2 2 https://example.com/b/