IFRCGo / go-api

MIT License
14 stars 6 forks source link

Get latest data from world bank data for country overview #2230

Closed Rup-Narayan-Rajbanshi closed 3 months ago

Rup-Narayan-Rajbanshi commented 3 months ago

Addresses

Changes

Checklist

Things that should succeed before merging.

samshara commented 3 months ago

@Rup-Narayan-Rajbanshi It seems we haven't update the year of latest data

    "world_bank_population": 42239854,
    "calculated_world_bank_population_year": null,
    "world_bank_population_above_age_65": 1011704,
    "calculated_world_bank_population_above_age_65_year": null,
    "world_bank_population_age_14": 18097715,
    "calculated_world_bank_population_age_14_year": null,
    "world_bank_urban_population_percentage": 26.933,
    "calculated_world_bank_urban_population_percentage_year": null,
    "world_bank_gdp": 14502158192.0904,
    "calculated_world_bank_gdp_year": null,
    "world_bank_gni": 14545219074.5763,
    "calculated_world_bank_gni_year": null,
    "world_bank_gender_inequality_index": 1.0,
    "calculated_world_bank_gender_inequality_index_year": null,
    "world_bank_life_expectancy": 62,
    "calculated_world_bank_life_expectancy_year": null,
    "world_bank_literacy_rate": 37.266040802002,
    "calculated_world_bank_literacy_rate_year": null,
    "world_bank_poverty_rate": 54.5,
    "calculated_world_bank_poverty_rate_year": null,
    "world_bank_gni_capita": 360,
    "calculated_world_bank_gni_capita_year": null,
Rup-Narayan-Rajbanshi commented 3 months ago

@Rup-Narayan-Rajbanshi It seems we haven't update the year of latest data

    "world_bank_population": 42239854,
    "calculated_world_bank_population_year": null,
    "world_bank_population_above_age_65": 1011704,
    "calculated_world_bank_population_above_age_65_year": null,
    "world_bank_population_age_14": 18097715,
    "calculated_world_bank_population_age_14_year": null,
    "world_bank_urban_population_percentage": 26.933,
    "calculated_world_bank_urban_population_percentage_year": null,
    "world_bank_gdp": 14502158192.0904,
    "calculated_world_bank_gdp_year": null,
    "world_bank_gni": 14545219074.5763,
    "calculated_world_bank_gni_year": null,
    "world_bank_gender_inequality_index": 1.0,
    "calculated_world_bank_gender_inequality_index_year": null,
    "world_bank_life_expectancy": 62,
    "calculated_world_bank_life_expectancy_year": null,
    "world_bank_literacy_rate": 37.266040802002,
    "calculated_world_bank_literacy_rate_year": null,
    "world_bank_poverty_rate": 54.5,
    "calculated_world_bank_poverty_rate_year": null,
    "world_bank_gni_capita": 360,
    "calculated_world_bank_gni_capita_year": null,

I did run ingest_worldbank mgmt task. Now it working fine.

szabozoltan69 commented 3 months ago

@Rup-Narayan-Rajbanshi should we merge it to develop (and deploy to Staging)?

szabozoltan69 commented 3 months ago

@samshara should we merge it to develop (and deploy to Staging)?

thenav56 commented 3 months ago

@szabozoltan69 Yes, let's do it. Thanks

szabozoltan69 commented 3 months ago

@thenav56 – Done, also the deployment to Staging.

szabozoltan69 commented 3 months ago
Running migrations:
  Applying databank.0026_countryoverview_calculated_world_bank_gdp_year_and_more... OK