opendatabio / opendatabio-r

R package for interacting with OpenDataBio
https://opendatabio.gitlab.io/
GNU General Public License v3.0
3 stars 2 forks source link

Imports Duplicate Locations #14

Closed betovicentini closed 6 years ago

betovicentini commented 6 years ago

This is separating this issue from #11.

andrechalom commented 6 years ago

Right!! This is truly a bug affecting country data, because of the way MySQL handles composite keys with null values... You can enter multiple countries with the same name, because the parent for all of them is NULL.

I'll try to add a "hidden" World entry with Id = 0, so all countries will be children of the same parent. This will fix the issue.

andrechalom commented 6 years ago

@birutaibm please check the usage example here ^^^

andrechalom commented 6 years ago

Fixed in opendatabio #190