Learn R Programming

forestChange (version 1.0)

GFCurls: URLs of GFC data

Description

This function retrieves URL of Global Forest Change (GFC) data.

Usage

GFCurls(lyrs = c("treecover2000", "lossyear"), url)

Arguments

lyrs

character. Name(s) of the layers. Default 'treecover2000', and 'lossyear'

url

character. Path to the html file containing the files. Default NULL retrieves URLs stored in the application programming interface of GFC, see References.

Value

character vector.

References

https://earthenginepartners.appspot.com/science-2013-global-forest/download_v1.5.html

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
 gainLayers <- GFCurls(lyrs = 'gain')
 head(gainLayers)
 
# }

Run the code above in your browser using DataLab