u_dateR: Creates a data frame of paths, folder names and dates.

Description Usage Arguments Details Value Author(s) Examples

View source: R/RSSA_utils.R

Description

u_dateR creates a data frame of paths, folder names and dates from the contents of a folder.

Usage

1
u_dateR(path, archive, pat = ".jpeg")

Arguments

path

Character string filepath to the path/row of satellite imagery to check. Can also be a folder of jpegs or some other date named files.

archive

A logical scalar. TRUE will assume path is indicating RSSA internal USGS archive. FALSE can be used when querying a QA jpeg folder or the like.

pat

Pattern to search for in a non-USGS imagery archive. Defaults to ".jpeg".

Details

This output of this function will hold paths, folder names and dates that will be used for other functions such as jpegR and extractR.

Value

For a USGS imagery archive the query will return a data frame with:

For a non-USGS archive the query will return a data frame with:

Author(s)

Bart Huntley, [email protected]

Examples

1
2
3
4
5
## Not run: 
u_dateR(path = "W:/usgs/115078", archive = TRUE)
u_dateR(path = "Z:/DEC/working/QA...", archive = FALSE, pat = ".jpeg")

## End(Not run)

RSPaW/RSSApkg documentation built on May 31, 2018, 5:23 p.m.