I want to analyse weather data by converting it into a pandas dataframe. They only come as a json.
I have retrieved the JSON file which looks like this (this is only a shortened version):
{
"lat": 52.517,
"lon": 13.3889,
"timezone": "Europe/Berlin",
"timezone_offset": 7200,
"hourly": [
{
"dt": 1628002800,
"temp": 294.78,
"feels_like": 294.41,
"pressure": 1011,
"humidity": 54,
"dew_point": 285.08,
"uvi": 1.58,
"clouds": 20,
"visibility": 10000,
"wind_speed": 1.92,
"wind_deg": 336,
"wind_gust": 1.73,
"weather": [
{
"id": 801,
"main": "Clouds",
"description": "few clouds",
"icon": "02d"
}
],
"pop": 0
}}
Is this the correct way?
Thank you in advance