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

Description Usage Arguments Value

View source: R/swdi-transform.R

Description

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

Usage

1
2
3
4
5
6
7
get_noaa_swdi_mtda_paths(
  ds_source = "noaa_swdi",
  dl_date,
  yr,
  noaa_swdi_ind_tiles,
  noaa_swdi_type
)

Arguments

ds_source

(character) : name of the data source, default to "noaa_swdi"

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

yr

(integer) : The specifics NOAA SWDI year CSV we want to transform

noaa_swdi_ind_tiles

(integer) : A value in {0, 1}, with 1 indicating that tiles data is to be downloaded and extracted, and 0 indicating non-tiles data is to be downloaded and extracted. Currently only a value of 1 i.e. tiles is supported.

noaa_swdi_type

(character) : Specifying the type of NOAA-SWDI data to download and extract. Can be one of the following values: hail, mda, meso, nldn, plsr, structure, tvs, warn

Value

A tibble with filenames


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