Learn R Programming

getlandsat (version 0.2.0)

lsat_scenes: List Landsat scenes

Description

List Landsat scenes

Usage

lsat_scenes(...)

Arguments

...

Further args passed on to readr::read_csv()

Details

We use readr::read_csv() to read the scene list file from http://landsat-pds.s3.amazonaws.com/scene_list.gz. See the help file for readr::read_csv() for what parameter you can pass to modify it's behavior.

This is an alternative to using lsat_list(). This function downloads the up to date compressed csv file, while lsat_list() uses the AWS S3 API.

See Also

lsat_scene_files()

Examples

Run this code
# NOT RUN {
res <- lsat_scenes()
res

# read only N rows
lsat_scenes(n_max = 10)
# }

Run the code above in your browser using DataLab