get_metadata_field {nisrarr}R Documentation

Get metadata

Description

Retrieve metadata from a dataset, such as contact information, notes, and official statistics status.

Usage

get_metadata_field(x, field)

get_metadata(x)

Arguments

x

A nisra_df object created using nisra_read_dataset()

field

The metadata field to read. See details for a list of fields.

Details

Every dataset should have the following metadata fields:

Value

Metadata if the field is found, otherwise NULL

Examples

mye <- nisra_read_dataset("MYE01T09")
get_metadata(mye)
get_metadata_field(mye, "contact")

[Package nisrarr version 0.1.1 Index]