## Warning: NAs introduced by coercion

## Warning: NAs introduced by coercion

Data Summary

##       Date                     Mean.Wind.Speed  Mean.Wind.Direction
##  Min.   :2015-01-01 00:00:00   Min.   : 1.000   Min.   : 10.0      
##  1st Qu.:2015-05-17 00:00:00   1st Qu.: 4.000   1st Qu.:150.0      
##  Median :2015-09-29 00:00:00   Median : 7.000   Median :220.0      
##  Mean   :2015-09-29 12:18:07   Mean   : 7.757   Mean   :215.5      
##  3rd Qu.:2016-02-12 00:00:00   3rd Qu.:11.000   3rd Qu.:280.0      
##  Max.   :2016-06-28 00:00:00   Max.   :31.000   Max.   :360.0

Wind speed by month

##         1         2         3         4         5         6         7 
##  7.372481  6.709287 10.692412  8.103146  9.909214  7.220430  6.062454 
##         8         9        10        11        12 
##  7.944855  8.229839  8.229167  5.576043  5.695833

Wind speed by month arranged in an ascending order

##        11        12         7         2         6         1         8 
##  5.576043  5.695833  6.062454  6.709287  7.220430  7.372481  7.944855 
##         4        10         9         5         3 
##  8.103146  8.229167  8.229839  9.909214 10.692412

Wind speed by year

##     2015     2016 
## 7.975400 7.311013

Wind direction by month and year

##       12        5        6       10        8        3        1        7 
## 199.3631 201.5793 205.9368 206.8371 211.0363 215.4136 215.6369 219.4086 
##        9        4        2       11 
## 226.1111 226.5393 228.6759 229.9861
##     2015     2016 
## 222.2231 201.6869

1.Mean wind speed was on average 7.75 Km/h with a minumum of 1 km/h and a maximum of 31 km/h

2.As shown, Wind speed was highest in December and January and then started to decrease to reach the lowest speed by September and October.

3.Thre was no significant difference in the wind speed between years 2015 and 2016.

plot wind speed per month

Interestingly, there was a trend towards decrease in mean wind speed by time as speed was max. by December and Januarythen started decreasing after January to reach its lowest by October.

Examine pattern in data

As previously mentioned, Results show that wind speed tend to decrease starting from February to reach its peak by December and January

Mean wind speed by day

##        0        1        2        3        4        5        6        7 
## 6.931860 6.753223 6.689338 6.775322 6.696133 6.566176 6.500000 6.549632 
##        8        9       10       11       12       13       14       15 
## 7.009191 7.464088 7.865562 8.360294 9.005515 9.402214 9.574861 9.576710 
##       16       17       18       19       20       21       22       23 
## 9.330869 9.057301 8.562731 8.081031 7.707182 7.443831 7.203327 7.088561

Wind spped by hour

It is noted that wind speed is at its maximum at early morning where the curve shows a peak at 3 pm then speed decreases to reach its minumum by late night then starts rising again.

Examine relation between wind Direction and Time of day

However the wind direction did not show any specific pattern.

Summary of wind direction by angle

## factor(0)
## 16 Levels: (0,22.5] (22.5,45] (45,67.5] (67.5,90] (90,112] ... (338,360]
##  (0,22.5] (22.5,45] (45,67.5] (67.5,90]  (90,112] (112,135] (135,158] 
##       119       128       137       881       963       652       569 
## (158,180] (180,202] (202,225] (225,248] (248,270] (270,292] (292,315] 
##       872       817      1480       838      1898       989      1322 
## (315,338] (338,360] 
##       867       494

Windrose plot of wind direction

The overall plot shows the direction of wind with larger areas indicating higher that wind was at that direction for longer durations of time throughout the year.

Bar plot of Wind direction

The most common wind direction was 210 degrees that accounted for 876 of the readings.

Plot of wind diraction by speed

## Loading required package: RColorBrewer
## Loading required package: scales
## Warning: package 'scales' was built under R version 3.3.2

The above figure show the overall wind direciton in relation to wind speed

Number of observations recorded by month

##   January  February     March     April       May      June      July 
##      1476      1367      1487      1439      1488      1361       744 
##    August September   October  November  December 
##       743       720       743       720       738