This function read the the weather information of Multiple airport from the website of NOAA's National Weather Service.

current_weather_more(id_vector, type)

Arguments

id_vector

a vector of multiple airport codes

type

a vector of weather elements

Value

a data frame of the weather information

Examples

current_weather_more(c("KAMW", "KAIO", "KCID", "KCNC"), c("temp_f"))
#> location station_id latitude longitude #> 1 Ames, Ames Municipal Airport, IA KAMW 41.99056 -93.61889 #> 2 Atlantic, IA KAIO 41.40000 -95.05000 #> 3 Cedar Rapids Airport, IA KCID 41.88295 -91.72456 #> 4 Chariton, IA KCNC 41.03333 -93.36667 #> observation_time temp_f #> 1 Last Updated on May 7 2019, 1:53 pm CDT 60.0 #> 2 Last Updated on May 7 2019, 1:55 pm CDT 54.0 #> 3 Last Updated on May 7 2019, 1:52 pm CDT 57.0 #> 4 Last Updated on May 7 2019, 1:55 pm CDT 55.0