rs_layers | R Documentation |
Returns a data frame of available layers for an AppEEARS product
rs_layers(product)
product |
product for which to list the layers |
returns a data frame with the AppEEARS datasets
Koen Hufkens
rs_products
# is the server reachable
server_check <- appeears:::rs_running(
file.path(appeears:::rs_server(),"product")
)
# get a list of datasets
if(server_check){
layers <- rs_layers("MCD43A4.006")
print(layers$Layer)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.