fmi_lightnings()
is a wrapper function forFMIWFSClient$getLightningStrikes()
. This is the first move towards a more idiomatic API based on simpler functions instead of R6-methods. The core class architecture will be retained, just the API changes.- With the previous change, session information, such as setting the API key,
is handled through a new
.session
environment. Associated functionsìnit_session()
andcheck_session()
also introduced.
- FMI stations data updated (8 new rows).
fmi_stations()
supersedes old functionfmi_weather_stations()
. The old function can still be used.fmi_stations()
can be used to fetch If packagesrvest
orXML
are available and the user is online, information on all FMI stations available at http://en.ilmatieteenlaitos.fi/observation-stations . a fresh verstion of the table will be scraped and returned. If not, a local version distributed with the package is used instead.
- Re-formatting older code.
- Making check pass without WARNINGs and NOTEs.
FMIWFSClient$getLightningStrikes()
is a new method used to query FMI API for lightning strikes within a given area and time frame.