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

Missing data in Vietnam #776

Open
lenam200996 opened this issue May 3, 2024 · 1 comment · May be fixed by #912
Open

Missing data in Vietnam #776

lenam200996 opened this issue May 3, 2024 · 1 comment · May be fixed by #912
Labels
missing-records Missing some records

Comments

@lenam200996
Copy link

Missing data for districts and communes in Vietnam.
For example:
curl --location 'https://api.countrystatecity.in/v1/countries/VN/states/HN/cities'
--header 'X-CSCAPI-KEY: API_KEY'
https://en.wikipedia.org/wiki/Category:Districts_of_Hanoi

Copy link

dosubot bot commented May 3, 2024

To address the issue of missing data for districts and communes in Hanoi, Vietnam, when using the CountryStateCity API, it's important to consider several factors that could be contributing to this problem:

  1. Data Completeness: The API might not have complete data for all districts and communes due to incomplete data entry or updates. It's crucial to ensure that the database behind the API includes comprehensive and up-to-date information on Vietnam's administrative divisions.

  2. Query Filtering and Script Logic: The way data is fetched and exported could inadvertently exclude certain districts or communes. Review the script and query logic for any conditions or filters that might be leaving out the needed data. Ensure that the categorization of data aligns with Vietnam's administrative structure, particularly for Hanoi's districts and communes.

  3. Database Schema: The issue might also lie in how the database schema is designed, especially if districts and communes are not adequately represented or if there's a mismatch in categorization. Direct database queries can help identify if the data is present but not being retrieved correctly.

  4. Alternative Data Sources: If the current database and API do not provide the required granularity, consider using alternative data sources that include detailed information on Vietnam's administrative divisions.

By focusing on these areas, you can better diagnose the cause of the missing data and find a suitable solution to ensure that districts and communes in Hanoi are accurately represented in your queries.

Details

Sources


About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

To continue the conversation, mention @dosu.

@dosubot dosubot bot added the missing-records Missing some records label May 3, 2024
@Aakash315 Aakash315 linked a pull request Oct 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
missing-records Missing some records
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant