Get HYDE 3.2 population and land use data
hyde_read( vars = c("cropland", "grazing", "ir_rice", "popc", "tot_irri", "uopp"), dir = "." ) hyde_download(dir = ".")
vars | The HYDE 3.2 variables to import. Either any combination of 'cropland', 'grazing', 'ir_rice', 'popc', 'tot_irri', or 'uopp' for the associated model output, or "inputs" for the HYDE 3.2 fixed inputs variables. |
---|---|
dir | The directory where the compressed HYDE data are. If the file 'raw-data.zip' is not currently in this directory, hyde_download() will downloaded it from doi:10.7910/DVN/E3H3AK on the Harvard Dataverse. Defaults to the current working directory. |
A 3-dimensional stars object in 5 arc minute geographic format for all 75 time steps. If vars = 'input', a 2-dimensional stars object.
hyde_download
: Download raw HYDE 3.2 data
if (FALSE) { hyde_download() # downloads HYDE 3.2 rawdata from Harvard Dataverse hyde_read() # Imports all the time-varying HYDE 3.2 data. hyde_read('inputs') # Imports the HYDE 3.2 fixed inputs }