download Greenspace Seasonality Data Cube for an urban area. Retrieves high-resolution greenspace seasonality data from the Sentinel-2-based global dataset developed by Wu et al. (2024). Users can define a city of interest using a bounding box, place name, coordinates, or unique city ID (UID).
Usage
get_gsdc(
  bbox = NULL,
  place = NULL,
  location = NULL,
  UID = NULL,
  year = NULL,
  time = NULL,
  mask = TRUE,
  quiet = TRUE
)Arguments
- bbox
- sf,- sfc, or a numeric vector (xmin, ymin, xmax, ymax) defining the area of interest. Optional if- place,- location, or- UIDis provided.
- place
- character or vector. (optional) A single line address, e.g. ("1600 Pennsylvania Ave NW, Washington") or a vector of addresses (c("Madrid", "Barcelona")). This can be ignored if - locationis specified.
- location
- vector or sf point. A point of interest. Ignored if - UIDis specified.
- UID
- numeric. Urban area ID. To check the ID of an available urban area, use - check_available_urban()
- year
- numeric. (required) The year of interest. 
- time
- Character vector of length 2 or character. (optional) Start and end dates in - "MM-DD"format (e.g.,- c("03-20", "10-15")or- "07-10"). Used to subset the 10-day interval data cube by time.
- mask
- logical (optional). Default is - TRUE. If- TRUE, masks the raster data using the given- bboxor- placeif it is specified.
- quiet
- logical. Whether show progress bars for some process. 
Details
The Greenspace Data Cube is organized into 36 bands per year, each representing a 10-day interval.
Note
Use check_available_urban() and check_urban_boundary() to see supported
cities and their boundaries.
