Skip to contents

Helper function: get_site_id

Usage

get_site_id(string, pattern = "^[0-9]{1,4}")

Arguments

string

vector with character strings

pattern

pattern used for identifying site_id (default: "^[0-9]1,4")

Value

extracted site_id`s from input string