addISOMetadata: Functions to provide reference to data sources

Description Usage Arguments Value Author(s) See Also Examples

View source: R/addISOMetadata.R

Description

The ISOMetadata table contains dataset and project level meta data required by the CUAHSI HIS meta data system (http://www.cuahsi.org/his/documentation.html) for compliance with standards such as the draft ISO 19115 or ISO 8601.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
addISOMetadata(TopicCategory = "Unknown", Title = "Unknown", 
	Abstract = "Unknown", ProfileVersion = "Unknown", 
	MetadataLink = NULL)
addSource(Organization, SourceDescription, SourceLink = NULL, 
ContactName = rep("Unknown", length(Organization)),
                 Phone = rep("Unknown", length(Organization)), Email =
                 rep("Unknown", length(Organization)), Address =
                 rep("Unknown", length(Organization)), City =
                 rep("Unknown", length(Organization)), State =
                 rep("Unknown", length(Organization)), ZipCode =
                 rep("Unknown", length(Organization)), Citation =
                 rep("Unknown", length(Organization)), Metadata =
                 rep("Unknown", length(Organization)))

Arguments

TopicCategory

Reference to the TopicCategory table, giving the broad ISO19115 metadata topic category for data from this source.

Title

Title of the data source

Abstract

A short abstract characterizing the data source

ProfileVersion

Name of the metadata profile used by the data source

MetadataLink

Link to additional metadata reference material.

Organization

Name of the organization that collected the data.

SourceDescription

Full text description of the source of the data.

SourceLink

Link that can be pointed at the original data file and/or associated metadata stored in the digital library or URL of data source.

ContactName

Name of the contact person for the data source.

Phone

Phone number for the contact person.

Email

Email address for the contact person.

Address

Street address for the contact person.

City

City in which the contact person is located.

State

State in which the contact person is located. Use two letter abbreviations for US. For other countries give the full country name.

ZipCode

US Zip Code or country postal code

Citation

Text string that give the citation to be used when the data from each source are referenced.

Metadata

Reference to the metadata table.

Value

Nothing is returned

Author(s)

Dominik Reusser

See Also

Use getMetadata to retrieve values.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
#connect to standard database
getDefaultDB()
#add data
addISOMetadata(TopicCategory="inlandWaters", Title="FAOStat land use", 
	MetadataLink="faostat.fao.org/site/377/default.aspx")
addSource(Organization="FAO", SourceDescription="FAO Stat Land Use", 
	SourceLink="http://faostat.fao.org/site/377/default.aspx#ancor", 
	ContactName="AskFAOSTAT: http://www.fao.org/askfao/agriculturalstatisticaldata/en/",
	Metadata="FAOStat land use")
getMetadata(table="Source", Description="Land Use")

RObsDat documentation built on May 29, 2017, 12:07 p.m.