The goal of NLDAS is to query NLDAS data rods.
devtools::install.github("benjamincrary/NLDAS")
This is a basic example which shows you how to solve a common problem:
library(NLDAS)
## get_nldas_from_shp(path_to_shapefile, startdate, enddate, nldas_parameters, destination)
get_nldas_from_shp("Data/CRW_NewPrecipZones.shp", "2019-05-28", "2019-05-28", "APCPsfc", "Output/")
## assign_zonal_representative(path_to_shapefile, zone_field, destination)
assign_zonal_representative("Data/CRW_NewPrecipZones.shp", "NewGrpID", "Output/")