Description Usage Arguments Value Examples
This function retrieves retrieves the date-times and asset names for available imagery for a supplied location. The satellite passes over each point on earth roughly once every sixteen days. This is an amazing visualization of the acquisition pattern for Landsat 8 imagery.
1 2 | Earth_Assets(key = Sys.getenv("NASA_TOKEN"), lat, lon, begin_date,
end_date = Sys.Date())
|
key |
String. Your NASA API key, you can enter your key in the function parameter, but it's not recommended. Instead, you'd better save your key in R environment and call it "NASA_TOKEN". Then the function would automatically acquire your key info. |
lat |
Float. Latitude of the location. |
lon |
Float. Longitude of the location. |
begin_date |
Date. Beginning of date range. |
end_date |
Date. End of date range. Today as default. |
A dataframe including date-times and asset names.
1 | Earth_Assets(lon = 100.75, lat = 1.5, begin_date = as.Date("2014-02-01"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.