current_weather: Read the Data of One Airport Location

Description Usage Arguments Value Examples

View source: R/current_weather.R

Description

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

Usage

1

Arguments

id

one 4 digits code of the airport

type

a vector of weather elements

Value

a data frame of the weather information

Examples

1
2
current_weather("KAMW", c("wind_mph", "temp_f", "haha"))
current_weather("KAMW", "temp_c")

floatgreen/airportweather documentation built on May 14, 2019, 3:06 a.m.