I have two datasets, one an hourly weather record:
Date | Time | Cloud Cover |
---|---|---|
27-Apr-23 | 13:00 | 100% |
27-Apr-23 | 14:00 | 100% |
And one a set of events with dates and times:
Event ID | Date | Time |
---|---|---|
AA | 27-Apr-23 | 13:15 |
BB | 27-Apr-23 | 13:26 |
I would like to join the two, such that I have the format:
Date | Time | Cloud Cover | Events |
---|---|---|---|
27-Apr-23 | 13:00 | 100% | 2 |
27-Apr-23 | 14:00 | 100% | 0 |
This weather data is about 52,000 rows, so a cross join is out of the question! I considered the potential for using SQL, but is there a way of feeding .xlsx into an SQL query to process the join? Or is there perhaps another way of doing it? I have had a look at âH2â databases, but that seems to hold all information about my tables but the actual data! Thanks!