def METHOD_NAME(year, params, logger, add_to_map=False):
    """Return WorldPop population data for a given year"""
    wp = ee.ImageCollection(params["asset"]).filterDate(
        f"{year}-01-01", f"{year + 1}-01-01"
    )
    wp = (
        wp.select("male")
        .toBands()
        .rename(f"Population_{year}_male")
        .addBands(wp.select("female").toBands().rename(f"Population_{year}_female"))
    )
    return {
        "image": wp,
        "bands": [
            results.Band(
                "Population (number of people)",
                metadata={
                    "year": year,
                    "type": "male",
                    "source": params["source"],
                },
                add_to_map=add_to_map,
            ),
            results.Band(
                "Population (number of people)",
                metadata={
                    "year": year,
                    "type": "female",
                    "source": params["source"],
                },
                add_to_map=add_to_map,
            ),
        ],
        "datatype": results.DataType.FLOAT32,
    }