Learn R Programming

chcd (version 0.1.1)

get_station: Find climate station or stations from a given place. This also confirms if a given climate station ID is valid.

Description

Find climate station or stations from a given place. This also confirms if a given climate station ID is valid.

Usage

get_station(place)

Value

Returns a tibble containing id, name, and location for all valid stations corresponding to place. Or NA if none are found.

Arguments

place

Either a numeric station ID or a place name. Case insensitive.

Examples

Run this code
get_station("squamish")
get_station("SqUaMiSh")
get_station(337)

Run the code above in your browser using DataLab