readEE: Tidy import tool for EarthExplorer .csv export files

Description Usage Arguments Details Value Examples

View source: R/readEE.R

Description

Imports CSV files exported from EarthExplorer into data.frames and annotates missing fields

Usage

1
readEE(x)

Arguments

x

Character, Character or list. One or more paths to EarthExplorer export files.

Details

The EarthExplorer CSV file can be produced from the search results page. Above the results click on 'export results' and select 'comma (,) delimited'.

Value

data.frame

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
library(ggplot2)
ee <- readEE(system.file("external/EarthExplorer_LS8.txt", package = "RStoolbox"))

## Scenes with cloud cover < 20%
ee[ee$Cloud.Cover < 20,]

## Available time-series
ggplot(ee) + 
		geom_segment(aes(x = Date, xend = Date, y = 0, yend = 100 - Cloud.Cover, 
     col = as.factor(Year))) +
		scale_y_continuous(name = "Scene quality (% clear sky)")


RStoolbox documentation built on May 19, 2017, 10:18 p.m.
Search within the RStoolbox package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.