Learn R Programming

rerddap (version 0.3.4)

cache_details: Get details of cached files

Description

Get details of cached files

Usage

cache_details(x, cache_path = "~/.rerddap")

Arguments

x
File names
cache_path
path to cached files

References

http://upwell.pfeg.noaa.gov/erddap/index.html

See Also

cache_list, cache_delete

Examples

Run this code
## Not run: 
# # List details for all cached files
# cache_details()
# 
# # List details for specific files
# (x <- cache_list())
# cache_details(x$nc[1])
# cache_details(x$csv[1])
# 
# # For a list or character vector of files
# ff <- cache_list()[[1]]
# cache_details(ff[1:3])
# cache_details(as.list(ff[1:3]))
# 
# # List details from output of griddap or tabledap
# ## tabledap
# (table_res <- tabledap('erdCalCOFIfshsiz'))
# cache_details(table_res)
# 
# ## griddap
# (grid_res <- griddap('noaa_esrl_027d_0fb5_5d38',
#  time = c('2012-01-01','2012-06-12'),
#  latitude = c(21, 18),
#  longitude = c(-80, -75)
# ))
# cache_details(grid_res)
# ## End(Not run)

Run the code above in your browser using DataLab