register: register a URL with remote and/or local registries

View source: R/register.R

registerR Documentation

register a URL with remote and/or local registries

Description

register a URL with remote and/or local registries

Usage

register(url, registries = default_registries(), ...)

Arguments

url

a URL for a data file (or list of URLs)

registries

list of registries at which to register the URL

...

additional arguments

Details

Local registries can be specified as one or more file paths where local registries should be created. Usually a given application will want to register in only one local registry. For most use cases, the default registry should be sufficient.

Value

the httr::response object for the request (invisibly)

Examples





 


register(paste0("https://knb.ecoinformatics.org/knb/d1/mn/v2/object/",
"ess-dive-457358fdc81d3a5-20180726T203952542"))






cboettig/contentid documentation built on Oct. 24, 2023, 1:03 p.m.