list_remote_data: List remote data locations for Behind Bars Data

View source: R/list_remote_data.R

list_remote_dataR Documentation

List remote data locations for Behind Bars Data

Description

List remote data locations for Behind Bars Data for either raw_files, log_files, or extracted_data. a scraper_name may also be provided to pull only a specific subset of locations.

Usage

list_remote_data(folder, scraper_name = NULL, dates_only = FALSE)

Arguments

folder

character, a single character indicating the folder to pull file locations from. Must be one of "raw_files", "log_files", or "extracted_data"

scraper_name

character, a character string indicating a particular scraper to pull data for. Defaults to NULL which pulls all file locations

dates_only

logical, only return the dates rather than full file name. Should only be used when scraper_name is not null

Value

character vector of file location urls

Examples

list_remote_data("log_files")
list_remote_data("raw_files", "lasd")
list_remote_data("raw_files", "lasd", TRUE)


uclalawcovid19behindbars/behindbarstools documentation built on April 22, 2022, 4:08 a.m.