<commit_before>import React, { Component } from 'react';
import { connect } from 'react-redux';

import Chart from '../components/chart';

class WeatherList extends Component {
  renderWeather(cityData) {
    const city = cityData.city;
    const list = cityData.list;

    const temps = list.map(weather => weather.main.temp);
    const pressures = list.map(weather => weather.main.pressure);
    const humidities = list.map(weather => weather.main.humidity);

    return(
      <tr key={city.id}>
        <td>{city.name}</td>
        <td><Chart data={temps} color="blue" units="K" /></td>
        <td><Chart data={pressures} color="black" units="hPa" /></td>
        <td><Chart data={humidities} color="green" units="%" /></td>
      </tr><commit_msg>Hooked up the GoogleMap component with the WeatherList container<commit_after>import React, { Component } from 'react';
import { connect } from 'react-redux';

import Chart from '../components/chart';
import GoogleMap from '../components/google_map';

class WeatherList extends Component {
  renderWeather(cityData) {
    const city = cityData.city;
    const list = cityData.list;

    const { lon, lat } = city.coord;

    const temps = list.map(weather => weather.main.temp);
    const pressures = list.map(weather => weather.main.pressure);
    const humidities = list.map(weather => weather.main.humidity);

    return(
      <tr key={city.id}>
        <td><GoogleMap lon={lon} lat={lat} /></td>
        <td><Chart data={temps} color="blue" units="K" /></td>
        <td><Chart data={pressures} color="black" units="hPa" /></td>
        <td><Chart data={humidities} color="green" units="%" /></td>
      </tr>
{'fraction_non_alphanumeric': 0.16616676664667065, 'fraction_numerical': 0.0, 'mean_word_length': 3.495956873315364, 'pattern_counts': {'":': 0, '<': 30, '<?xml version=': 0, '>': 36, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2465652', 'n_tokens_mistral': 530, 'n_tokens_neox': 498, 'n_words': 130}