get_mtbs_mtda_paths: Provides a helper dataframe to list all of the files...

Description Usage Arguments Value Examples

View source: R/mtbs-transform.R

Description

Provides a helper dataframe to list all of the files extracted for MTBS for a specified year of download

Usage

1
get_mtbs_mtda_paths(dl_date, mtbs_type, ds_source = "mtbs")

Arguments

dl_date

(date) : Date in which the file were downloaded. This is going to look for a folder in the 'data/ds_source/' named as this date

mtbs_type

(character) : This specifies the type of MTBS data we want to import and takes 2 values mtbs_perimeter_data, mtbs_fod_pts_data

ds_source

(character) : data names. Default to "mtbs"

Value

A tibble of filenames

Examples

1
2
3
4
5
6
## Not run: 
get_mtbs_mtda_paths(ds_source = "mtbs",
                    dl_date = base::as.Date("2019-07-06"),
                    mtbs_type = "mtbs_perimeter_data")

## End(Not run)

shamindras/backburner documentation built on Feb. 28, 2021, 12:20 a.m.