get_person {inlpubs}R Documentation

Get Person(s)

Description

Filter a list of individuals based on their distinct identifiers.

Usage

get_person(x, persons)

Arguments

x

'character' vector. Identifier for one or more persons.

persons

'person' named list. Information about an arbitrary number of persons. Each element in the list is assigned a name, which uniquely identifies a person.

Value

A subset of persons.

Author(s)

J.C. Fisher, U.S. Geological Survey, Idaho Water Science Center

Examples

get_person("jfisher", persons = inlpubs::authors$person)

[Package inlpubs version 1.2.0 Index]