addNameSpace: Add a namespace to the repository

Description Usage Arguments Value Examples

View source: R/repo_funcs.R

Description

Add a namespace for the current user in this repository

Usage

1
addNameSpace(repository, prefix, nsURI)

Arguments

repository

Object of type repository specifying server details and repository to work on.

prefix

Prefix

nsURI

Namespace URI

Value

ag put object that states whether or not push was successful (invisible)

Examples

1
2
3
4
5
6
7
## Not run: 
service = service("localhost","user","password")
rep = repository(catalog(service,"root"),"test")
addNameSpace(service,catalogid = "root",repo = "testRepo",prefix = "foaf",
nsURI = "http://xmlns.com/foaf/0.1/")

## End(Not run)

baasman/allegRo documentation built on June 4, 2017, 12:11 a.m.