find_forecast_towns {weatherOz} | R Documentation |
Find the Nearest Town With a BOM Forecast
Description
For a given latitude
and longitude
, find the nearest town that the
BOM provides a forecast for.
Usage
find_forecast_towns(longitude = 149.2, latitude = -35.3, distance_km = 100)
Arguments
longitude |
A |
latitude |
A |
distance_km |
A |
Value
A data.table::data.table()
of all forecast towns (in this package) sorted by
distance from latitude and longitude, ascending.
Author(s)
Hugh Parsonage, hugh.parsonage@gmail.com, and James Goldie, me@jamesgoldie.dev, and Adam H. Sparks, adamhsparks@gmail.com
See Also
Other BOM:
get_ag_bulletin()
,
get_available_imagery()
,
get_available_radar()
,
get_coastal_forecast()
,
get_precis_forecast()
,
get_radar_imagery()
,
get_satellite_imagery()
,
parse_ag_bulletin()
,
parse_coastal_forecast()
,
parse_precis_forecast()
Other metadata:
find_nearby_stations()
,
find_stations_in()
,
get_available_imagery()
,
get_available_radar()
,
get_dpird_availability()
,
get_stations_metadata()
Examples
# find forecast towns near Esperance, WA
find_forecast_towns(longitude = 121.8913, latitude = -33.8614)