rdataretriever icon indicating copy to clipboard operation
rdataretriever copied to clipboard

Consider vignette of more examples

Open RMHogervorst opened this issue 3 years ago • 1 comments

For novices it could be useful if you add some copy and paste examples of downloading data into different backends. That way people can follow the example and modify to their needs. These step by steps helped me a lot when I started programming, changing an example is way easier than setting it up from scratch.

Maybe these examples from the readme with some more details?:

rdataretriever::install_postgres('harvard-forest') # Vector data
rdataretriever::install_postgres('bioclim') # Raster data

# Install only the data of USGS elevation in the given extent
rdataretriever::install_postgres('usgs-elevation', list(-94.98704597353938, 39.027001800158615, -94.3599408119917, 40.69577051867074))

(I would cache those results, so you don't need to set it all up for every build).

RMHogervorst avatar Nov 01 '20 14:11 RMHogervorst