Answered step by step
Verified Expert Solution
Question
1 Approved Answer
R Programming : I have a CSV data which contains wind speed, air temperature, relative humidity and visibility of a weather station from Jan. 1,
R Programming: I have a CSV data which contains wind speed, air temperature, relative humidity and visibility of a weather station from Jan. 1, 2020 to Jan. 4, 2020
ob_time | hour | day | month | wind_speed | air_temperature | rltv_hum | visibility | Site |
01/01/2020 0:00 | 0 | 1 | 1 | 24 | 8 | 81.8 | 1000 | 4 |
01/01/2020 1:00 | 1 | 1 | 1 | 20 | 8 | 81.8 | 1000 | 4 |
01/01/2020 2:00 | 2 | 1 | 1 | 24 | 8 | 76.3 | 1000 | 4 |
01/01/2020 3:00 | 3 | 1 | 1 | 26 | 8 | 81.8 | 1000 | 4 |
01/01/2020 4:00 | 4 | 1 | 1 | 26 | 8 | 81.8 | 1000 | 4 |
01/01/2020 5:00 | 5 | 1 | 1 | 28 | 8 | 87.3 | 1000 | 4 |
01/01/2020 6:00 | 6 | 1 | 1 | 26 | 9 | 81.2 | 1000 | 4 |
01/01/2020 7:00 | 7 | 1 | 1 | 20 | 9 | 81.2 | 800 | 4 |
01/01/2020 8:00 | 8 | 1 | 1 | 20 | 8 | 87.3 | 1000 | 4 |
01/01/2020 9:00 | 9 | 1 | 1 | 30 | 9 | 81.2 | 1000 | 4 |
01/01/2020 10:00 | 10 | 1 | 1 | 28 | 9 | 81.2 | 1000 | 4 |
01/01/2020 11:00 | 11 | 1 | 1 | 19 | 9 | 81.2 | 700 | 4 |
01/01/2020 12:00 | 12 | 1 | 1 | 25 | 9 | 81.2 | 1000 | 4 |
01/01/2020 13:00 | 13 | 1 | 1 | 28 | 9 | 87.8 | 1000 | 4 |
01/01/2020 14:00 | 14 | 1 | 1 | 28 | 9 | 87.8 | 1000 | 4 |
01/01/2020 15:00 | 15 | 1 | 1 | 25 | 9 | 87.8 | 900 | 4 |
01/01/2020 16:00 | 16 | 1 | 1 | 22 | 9 | 81.2 | 800 | 4 |
01/01/2020 17:00 | 17 | 1 | 1 | 19 | 9 | 81.2 | 900 | 4 |
01/01/2020 18:00 | 18 | 1 | 1 | 18 | 9 | 81.2 | 1000 | 4 |
01/01/2020 19:00 | 19 | 1 | 1 | 19 | 9 | 81.2 | 1000 | 4 |
01/01/2020 20:00 | 20 | 1 | 1 | 21 | 8 | 87.3 | 1000 | 4 |
01/01/2020 21:00 | 21 | 1 | 1 | 24 | 8 | 87.3 | 1000 | 4 |
01/01/2020 22:00 | 22 | 1 | 1 | 20 | 8 | 81.8 | 1000 | 4 |
01/01/2020 23:00 | 23 | 1 | 1 | 23 | 8 | 81.8 | 1000 | 4 |
02/01/2020 0:00 | 0 | 2 | 1 | 23 | 8 | 81.8 | 1000 | 4 |
02/01/2020 1:00 | 1 | 2 | 1 | 23 | 9 | 76 | 1000 | 4 |
02/01/2020 2:00 | 2 | 2 | 1 | 22 | 9 | 81.2 | 1000 | 4 |
02/01/2020 3:00 | 3 | 2 | 1 | 22 | 9 | 81.2 | 1000 | 4 |
02/01/2020 4:00 | 4 | 2 | 1 | 23 | 9 | 81.2 | 800 | 4 |
02/01/2020 5:00 | 5 | 2 | 1 | 21 | 9 | 81.2 | 600 | 4 |
02/01/2020 6:00 | 6 | 2 | 1 | 16 | 9 | 81.2 | 1000 | 4 |
02/01/2020 7:00 | 7 | 2 | 1 | 19 | 9 | 81.2 | 1000 | 4 |
02/01/2020 8:00 | 8 | 2 | 1 | 24 | 10 | 75.6 | 1000 | 4 |
02/01/2020 9:00 | 9 | 2 | 1 | 25 | 10 | 75.6 | 1000 | 4 |
02/01/2020 10:00 | 10 | 2 | 1 | 27 | 10 | 75.6 | 1000 | 4 |
02/01/2020 11:00 | 11 | 2 | 1 | 24 | 9 | 87.8 | 900 | 4 |
02/01/2020 12:00 | 12 | 2 | 1 | 24 | 10 | 81.9 | 900 | 4 |
02/01/2020 13:00 | 13 | 2 | 1 | 25 | 9 | 87.8 | 1000 | 4 |
02/01/2020 14:00 | 14 | 2 | 1 | 27 | 9 | 87.8 | 1000 | 4 |
02/01/2020 15:00 | 15 | 2 | 1 | 25 | 9 | 87.8 | 1000 | 4 |
02/01/2020 16:00 | 16 | 2 | 1 | 25 | 9 | 81.2 | 1000 | 4 |
02/01/2020 17:00 | 17 | 2 | 1 | 25 | 9 | 87.8 | 1000 | 4 |
02/01/2020 18:00 | 18 | 2 | 1 | 24 | 9 | 87.8 | 1000 | 4 |
02/01/2020 19:00 | 19 | 2 | 1 | 23 | 7 | 86.8 | 270 | 4 |
02/01/2020 20:00 | 20 | 2 | 1 | 22 | 5 | 93.5 | 600 | 4 |
02/01/2020 21:00 | 21 | 2 | 1 | 22 | 7 | 81 | 800 | 4 |
02/01/2020 22:00 | 22 | 2 | 1 | 26 | 7 | 65.5 | 1000 | 4 |
02/01/2020 23:00 | 23 | 2 | 1 | 29 | 6 | 75.8 | 1000 | 4 |
03/01/2020 0:00 | 0 | 3 | 1 | 34 | 7 | 65.5 | 1000 | 4 |
03/01/2020 1:00 | 1 | 3 | 1 | 35 | 6 | 75.8 | 1000 | 4 |
03/01/2020 2:00 | 2 | 3 | 1 | 34 | 6 | 65.5 | 700 | 4 |
03/01/2020 3:00 | 3 | 3 | 1 | 29 | 5 | 74.7 | 1000 | 4 |
03/01/2020 4:00 | 4 | 3 | 1 | 27 | 5 | 74.7 | 600 | 4 |
03/01/2020 5:00 | 5 | 3 | 1 | 28 | 5 | 65.4 | 1000 | 4 |
03/01/2020 6:00 | 6 | 3 | 1 | 22 | 6 | 65.5 | 1000 | 4 |
03/01/2020 7:00 | 7 | 3 | 1 | 27 | 5 | 70 | 1000 | 4 |
03/01/2020 8:00 | 8 | 3 | 1 | 27 | 5 | 65.4 | 1000 | 4 |
03/01/2020 9:00 | 9 | 3 | 1 | 34 | 5 | 80.9 | 1000 | 4 |
03/01/2020 10:00 | 10 | 3 | 1 | 38 | 5 | 80.9 | 900 | 4 |
03/01/2020 11:00 | 11 | 3 | 1 | 41 | 6 | 65.5 | 900 | 4 |
03/01/2020 12:00 | 12 | 3 | 1 | 31 | 5 | 74.7 | 1000 | 4 |
03/01/2020 13:00 | 13 | 3 | 1 | 34 | 6 | 75.8 | 900 | 4 |
03/01/2020 14:00 | 14 | 3 | 1 | 34 | 4 | 86.7 | 600 | 4 |
03/01/2020 15:00 | 15 | 3 | 1 | 30 | 6 | 75.8 | 1000 | 4 |
03/01/2020 16:00 | 16 | 3 | 1 | 32 | 5 | 80.9 | 600 | 4 |
03/01/2020 17:00 | 17 | 3 | 1 | 23 | 4 | 86.7 | 800 | 4 |
03/01/2020 18:00 | 18 | 3 | 1 | 20 | 4 | 80.1 | 1000 | 4 |
03/01/2020 19:00 | 19 | 3 | 1 | 22 | 5 | 74.7 | 900 | 4 |
03/01/2020 20:00 | 20 | 3 | 1 | 26 | 5 | 70 | 1000 | 4 |
03/01/2020 21:00 | 21 | 3 | 1 | 21 | 5 | 70 | 1000 | 4 |
03/01/2020 22:00 | 22 | 3 | 1 | 22 | 4 | 80.1 | 1000 | 4 |
03/01/2020 23:00 | 23 | 3 | 1 | 22 | 4 | 80.1 | 700 | 4 |
04/01/2020 0:00 | 0 | 4 | 1 | 20 | 4 | 75.2 | 900 | 4 |
04/01/2020 1:00 | 1 | 4 | 1 | 21 | 4 | 70.4 | 1000 | 4 |
04/01/2020 2:00 | 2 | 4 | 1 | 21 | 4 | 65.6 | 1000 | 4 |
04/01/2020 3:00 | 3 | 4 | 1 | 23 | 3 | 68.9 | 1000 | 4 |
04/01/2020 4:00 | 4 | 4 | 1 | 25 | 4 | 51.3 | 1000 | 4 |
04/01/2020 5:00 | 5 | 4 | 1 | 16 | 3 | 55.5 | 1000 | 4 |
04/01/2020 6:00 | 6 | 4 | 1 | 12 | 4 | 60.8 | 1000 | 4 |
04/01/2020 7:00 | 7 | 4 | 1 | 13 | 3 | 75.7 | 1000 | 4 |
04/01/2020 8:00 | 8 | 4 | 1 | 4 | 3 | 75.7 | 1000 | 4 |
04/01/2020 9:00 | 9 | 4 | 1 | 3 | 4 | 75.2 | 1000 | 4 |
04/01/2020 10:00 | 10 | 4 | 1 | 3 | 3 | 68.9 | 1000 | 4 |
04/01/2020 11:00 | 11 | 4 | 1 | 7 | 2 | 69.1 | 1000 | 4 |
04/01/2020 12:00 | 12 | 4 | 1 | 4 | 2 | 74.5 | 1000 | 4 |
04/01/2020 13:00 | 13 | 4 | 1 | 1 | 2 | 74.5 | 1000 | 4 |
04/01/2020 14:00 | 14 | 4 | 1 | 0 | 3 | 68.9 | 1000 | 4 |
04/01/2020 15:00 | 15 | 4 | 1 | 5 | 4 | 65.6 | 1000 | 4 |
04/01/2020 16:00 | 16 | 4 | 1 | 8 | 5 | 70 | 1000 | 4 |
04/01/2020 17:00 | 17 | 4 | 1 | 9 | 5 | 74.7 | 1000 | 4 |
04/01/2020 18:00 | 18 | 4 | 1 | 15 | 4 | 86.7 | 1000 | 4 |
04/01/2020 19:00 | 19 | 4 | 1 | 17 | 5 | 87.2 | 1000 | 4 |
04/01/2020 20:00 | 20 | 4 | 1 | 20 | 6 | 93.9 | 1000 | 4 |
04/01/2020 21:00 | 21 | 4 | 1 | 17 | 8 | 92.9 | 1000 | 4 |
04/01/2020 22:00 | 22 | 4 | 1 | 17 | 8 | 92.9 | 1000 | 4 |
04/01/2020 23:00 | 23 | 4 | 1 | 19 | 8 | 92.9 | 1000 | 4 |
How do I filter the data with the following 2 criteria using R Programming:
The Hutton Criteria occurs in a particular day when both the follwing criteria are met - The two previous days have a minimum temperature of at least 10 C The two previous days have at least six hours of relative humidity of 90% or higherStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started