Skip to contents

Download

Functions which download data from URLs

download_data()
Download raw data wrapper function
download_aqs()
Download air quality data
download_cropscape()
Download CropScape data
download_ecoregion()
Download ecoregion data
download_geos()
Download atmospheric composition data
download_gmted()
Download elevation data
download_gridmet()
Download gridMET data
download_hms()
Download wildfire smoke data
download_huc()
Download National Hydrography Dataset (NHD) data
download_koppen_geiger()
Download climate classification data
download_merra2()
Download meteorological and atmospheric data
download_modis()
Download MODIS product files
download_narr()
Download meteorological data
download_nei()
Download road emissions data
download_nlcd()
Download land cover data
download_prism()
Download PRISM data
download_sedac_groads()
Download roads data
download_sedac_population()
Download population density data
download_terraclimate()
Download TerraClimate data
download_tri()
Download toxic release data

Process

Functions which import and clean raw data

process_covariates()
Process raw data wrapper function
process_aqs()
Process U.S. EPA AQS daily CSV data
process_blackmarble()
Assign VIIRS Black Marble products corner coordinates to retrieve a merged raster
process_blackmarble_corners()
Process Black Marble corners
process_cropscape()
Process CropScape data
process_ecoregion()
Process ecoregion data
process_flatten_sds()
Process MODIS layers
process_geos()
Process atmospheric composition data
process_gmted()
Process elevation data
process_gridmet()
Process gridMET data
process_hms()
Process wildfire smoke data
process_huc()
Retrieve Hydrologic Unit Code (HUC) data
process_koppen_geiger()
Process climate classification data
process_merra2()
Process meteorological and atmospheric data
process_modis_merge()
Process MODIS .hdf files
process_modis_sds()
Process MODIS sub-datasets
process_modis_swath()
Mosaic MODIS swaths
process_modis_warp()
Warp MODIS swath data into rectilinear grid raster
process_narr()
Process meteorological data
process_nei()
Process road emissions data
process_nlcd()
Process land cover data
process_prism()
Process PRISM data
process_sedac_groads()
Process roads data
process_sedac_population()
Process population density data
process_terraclimate()
Process TerraClimate data
process_tri()
Process toxic release data

Covariates

Functions which extract data values at user-defined points

calculate_covariates()
Calculate covariates wrapper function
calculate_ecoregion()
Calculate ecoregions covariates
calculate_geos()
Calculate atmospheric composition covariates
calculate_gmted()
Calculate elevation covariates
calculate_gridmet()
Calculate gridMET covariates
calculate_hms()
Calculate wildfire smoke covariates
calculate_koppen_geiger()
Calculate climate classification covariates
calculate_lagged()
Calculate temporally lagged covariates
calculate_merra2()
Calculate meteorological and atmospheric covariates
calculate_modis()
Calculate MODIS product covariates in multiple CPU threads
calculate_modis_daily()
A single-date MODIS worker
calculate_narr()
Calculate meteorological covariates
calculate_nei()
Calculate road emissions covariates
calculate_nlcd()
Calculate land cover covariates
calculate_sedac_groads()
Calculate roads covariates
calculate_sedac_population()
Calculate population density covariates
calculate_temporal_dummies()
Calculate temporal dummy covariates
calculate_terraclimate()
Calculate TerraClimate covariates
calculate_tri()
Calculate toxic release covariates
sum_edc()
Calculate Sum of Exponentially Decaying Contributions (SEDC) covariates

Spatio-Temporal

Functions which convert to, from, and between spatio-temporal data types

as_mysftime()
Create an sftime object
check_mysf()
Check sf object
check_mysftime()
Check sftime object
dt_as_mysftime()
Convert a data.table to an sftime
rename_time()
Rename $time
sf_as_mysftime()
Convert an sf to an sftime
sftime_as_mysftime()
Convert an sftime to a mysftime
sftime_as_sf()
Convert an sftime to an sf
sftime_as_spatraster()
Convert an sftime to a SpatRaster
sftime_as_spatrds()
Convert an sftime to a SpatRasterDataset
sftime_as_spatvector()
Convert an sftime to a SpatVector
spatraster_as_sftime()
Convert a SpatRaster to an sftime
spatrds_as_sftime()
Convert a SpatRasterDataset to an sftime
spatvector_as_sftime()
Convert a SpatVector to an sftime

Auxiliary

Functions which support the download, process, and covariate calculation functions

apply_extent()
Apply extent to the processed data
calc_check_time()
Check time values
calc_message()
Send progress messages
calc_prepare_locs()
Prepare extraction locations
calc_return_locs()
Prepare covariates for return
calc_setcolumns()
Set column names
calc_time()
Prepare time values
calc_worker()
Perform covariate extraction
calculate_modis_daily()
A single-date MODIS worker
check_destfile()
Check if destination file exists or is 0 bytes.
check_geom()
Check that geom value is one of FALSE, "sf", or "terra"
check_url_status()
Check HTTP status
check_urls()
Implement check_url_status
download_hash()
Create hash of downloaded files.
generate_date_sequence()
Generate date sequence
generate_time_sequence()
Generate time sequence
is_date_proper()
Check date format
narr_variable()
Sort NOAA NARR variables
process_collection()
Process GEOS-CF and MERRA2 collection codes
process_conformity()
Check input assumptions
process_gmted_codes()
Process elevation statistic and resolution codes
process_gridmet_codes()
Process gridMET variable codes
process_locs_radius()
Process locations buffer
process_locs_vector()
Process locations as SpatVector
process_merra2_time()
Process MERRA2 time steps
process_sedac_codes()
Process population resolution code
process_terraclimate_codes()
Process terraClimate variable codes
process_variable_codes()
Filter gridMET and terraClimate variable names and variable codes