How to make a WordPress plugin that uses shortcodes to show the weather forecast

Note – If you want to use this plugin right away, you can download the ready-to-install version from the WordPress plugins directory. WordPress is a hugely popular content management system used by hundreds of millions of sites across the internet to build websites and blogs. In fact, it bills itself as “the world’s most popular …

How to look up the current weather conditions in the Weather API

Many weather data applications such as weather widgets, weather analytics tools and information displays find it useful to communicate the current weather conditions. These conditions include current temperature, wind speed and direction, recent precipitation and more. Looking up the current weather conditions for one or more locations is easy in the Visual Crossing Weather API. …

How can I load historical weather data using Google Apps Script?

Google Apps Script also known as Apps Script or sometimes Google Script, is a scripting language based on JavaScript and used within Google’s G Suite applications. Although it started life as a side project within Google Sheets, today it is used as a scripting language within all of the Google apps family including Google Sheets, …

How to use Python and Pandas to join historical weather data to road accident data

I am currently investigating the relationship between weather conditions and accidents by using a dataset of road accidents in Fairfax County, Virginia obtained from the Virginia Department of Motor Vehicles. The first step to perform the analysis is to combine the accident data with the historical weather conditions. In this article, we will discuss how …

Requesting sub-hourly weather data using the Weather API

Sub-hourly historical weather data, or historical weather data with minute-by-minute resolution can be retrieved by users of the weather API. Please see the weather data editions page for details on which weather API plans include sub-hourly data access. Requests for sub-hourly data mirror the same requests for hourly or daily uses however there are some …

Using the time period parameter to specify dynamic dates for Weather API requests

Sometimes when requesting weather data via the weather API we wish to request data for a fixed period based on the current data. For example, request the data for yesterday, today or the next seven days. The time period parameter of the weather API allows you to easily request data for dynamic time periods. Example …