Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Country Profile > Supporting Partners #337

Closed
Tracked by #333
udaynwa opened this issue Dec 6, 2023 · 10 comments
Closed
Tracked by #333

Country Profile > Supporting Partners #337

udaynwa opened this issue Dec 6, 2023 · 10 comments
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@udaynwa
Copy link

udaynwa commented Dec 6, 2023

IFRC Presence and ICRC Presence

Figma link

Google Colab link

Country where data are available

https://go-web-ifrc.dev.datafriendlyspace.org/countries/27/profile/supporting-partners

Key takeaways

Available data

  • IFRC Presence
    • Name
    • Designation
    • IFRC Legal status link
    • IFRC disaster law link
  • ICRC Presence
    • Key Operations links for available countries (24 countries)

Unavailable data

  • IFRC Presence
    • Contact Information
    • Email ID
  • ICRC Presence
    • None

Remarks

  • For IFRC Presence, the data is pulled from the XML file attached in the Figma

Contacts

Figma link

Google Colab link

Country where data is available

Key takeaways

Available data

  • IFRC
    • First Name
    • Last Name
    • Country
    • CON Title
    • Email ID
  • International Partners

Unavailable data

  • None

Remarks

  • Where are we pulling data from for International Partners?
@udaynwa udaynwa added the documentation Improvements or additions to documentation label Dec 8, 2023
@udaynwa
Copy link
Author

udaynwa commented Dec 21, 2023

@mariam-yu @tovari , Contacts section added here. Comment related to source for International Partners also added in the Figma : https://www.figma.com/file/myeW85ibN5p2SlnXcEpxFD?node-id=15913:238042&mode=design#652382061

cc @frozenhelium

@udaynwa
Copy link
Author

udaynwa commented Jan 19, 2024

@tovari @szabozoltan69 , there are delegation fields in Local Units. Can we use them for IFRC Presence?

cc @samshara

@udaynwa
Copy link
Author

udaynwa commented Jan 22, 2024

@barshathakuri ,

  • Verify the API with the Excel file mapping the IFRC disaster law country codes "node" to the country names and ISO codes

@tovari
Copy link

tovari commented Jan 24, 2024

Yes, please use the delegation-office endpoint for this.

@tovari @szabozoltan69 , there are delegation fields in Local Units. Can we use them for IFRC Presence?

cc @samshara

@tovari
Copy link

tovari commented May 7, 2024

IFRC Presence data don't show up on any of the country pages. E.g.:
https://go.ifrc.org/countries/132/ns-overview/partners

from
https://goadmin.ifrc.org/api/v2/delegation-office/
{
"name": "Americas Regional Office",
"city": "Panama City",
"address": "Av. Jacinto Palacios Cobos Edificio 221, Panamá, Panama",
"postcode": "",
"location": {
"type": "Point",
"coordinates": [
-79.58557096,
9.005326423
]
},
"society_url": "https://www.cruzroja.org.pa/",
"url_ifrc": "https://www.ifrc.org/national-societies-directory/red-cross-society-panama",
"hod_first_name": "Martha ",
"hod_last_name": "Keays",
"hod_mobile_number": "+507 6330 2770",
"hod_email": "[email protected]",
"assistant_name": "Christian Vega",
"assistant_email": "[email protected]",
"is_ns_same_location": false,
"is_multiple_ifrc_offices": false,
"visibility": 4,
"created_at": "2024-04-30T09:50:18.656188Z",
"modified_at": "2024-04-30T09:50:18.656204Z",
"date_of_data": null,
"country": {
"name": "Panama",
"iso3": "PAN",
"region": 1
},
"dotype": {
"name": "Regional Office",
"code": 3
}
},

@k9845
Copy link

k9845 commented May 8, 2024

@tovari For this, we are currently just showing delegation with type Country Delegation but country Panama has data for delegation Regional Office. Should we show regional office as well?
cc: @udaynwa @samshara

@tovari
Copy link

tovari commented May 8, 2024

Yes, please include all types of offices.

@udaynwa
Copy link
Author

udaynwa commented Jul 9, 2024

@tovari , the ICRC's website has been changed. So we need to update the scraping logic to pull the data from the latest website.

Old website: https://web.archive.org/web/20240623064243/https://www.icrc.org/en/where-we-work

New website: https://www.icrc.org/en/where-we-work

Therefore, we have to re-write the scraping logic. This will take a bit of time.

cc @samshara @thenav56 @nnjemie

@udaynwa udaynwa reopened this Jul 9, 2024
@tovari
Copy link

tovari commented Oct 18, 2024

@tovari , the ICRC's website has been changed. So we need to update the scraping logic to pull the data from the latest website.

@udaynwa, unfortunately, they don't have an api to retrieve this information, so we need to modify the scraper to get this info. they offered to have a meeting with the developer team, if that helps?

@samshara
Copy link
Member

samshara commented Oct 21, 2024

@tovari , the ICRC's website has been changed. So we need to update the scraping logic to pull the data from the latest website.

@udaynwa, unfortunately, they don't have an api to retrieve this information, so we need to modify the scraper to get this info. they offered to have a meeting with the developer team, if that helps?

@tovari Sure, we’ll adjust the scraper logic to retrieve the required information. If needed, we can set up a meeting to discuss further.
However, this isn’t an ideal solution, and we may need to explore a better approach in the future.

Created a ticket to address the issue
IFRCGo/go-api#2287

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

6 participants