datasets {chronosphere} | R Documentation |
Download a database extract from chronosphere
remote server
Description
The function will download a list of available series from the data repository
Usage
datasets(
src = NULL,
datadir = NULL,
verbose = FALSE,
master = FALSE,
greetings = TRUE,
all = FALSE
)
Arguments
src |
|
datadir |
|
verbose |
|
master |
|
greetings |
|
all |
|
Details
The function will download a single .csv file and attach it as a data.frame
.
Value
A data.frame
class object.
Examples
# available datasets (sources and series) - proper
# index <- datasets()
# all available versions and resolutions in database 'pbdb'
# oneDat <- datasets(src="pbdb")
###################################
# local example INCOMPLETE - does not connect to the internet
ind <- datasets(
datadir=system.file("extdata", package="chronosphere"))
# one available archive
ind <- datasets(
src="SOM-zaffos-fragmentation",
datadir=system.file("extdata", package="chronosphere"))