Closed arnounesco closed 1 year ago
I wonder if we should switch to using a call to the UNSD API, using the /api/Country
endpoint, instead of maintaining a separate CSV file, such as:
curl -X 'GET' \
'https://unstats.un.org/unsd/amaapi/api/Country?countriesOnly=true' \
-H 'accept: */*'
At the minimum we should remove the spaces in this filename (it's disaster accessing this file on different platforms, because of the spaces).
Is this closed ?
@pbuttigieg fixed now, see details in https://github.com/iodepo/oih-ui/pull/77
The UNSD API is used instead (a single copy of the CSV is stored only for reference now, in the /regions/unsd-data/
folder )
the UNSD Methodology CSV file is included in both the indexer and the regions (with different filenames), this will lead to problems in the future whenever the list is update and not both files are updated. Should only be one file.