You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Further investigation revealed that the Coordinates variable is being truncated. It is supposed to end with a )). I compared it with the online API and found out that some values where missing.
I'm not sure what the underlying issue is here and if/how it's solvable; will try to look into it more when I have time.
But a potential workaround is to separately download the DHS region boundaries using the rdhs::download_boundaries() function.
Here is an example. Also, I noticed that the dhs_data() call was simply national data, so no subnational data. I added breakdown = "subnational" such that it it returns for multiple subnational locations.
I am trying to build a choropleth map using the data result from the following code.
But I am getting the following error when trying to convert the variable
Coordinates
polygon intosf
objects.Further investigation revealed that the
Coordinates
variable is being truncated. It is supposed to end with a))
. I compared it with the online API and found out that some values where missing.Please I would kindly appreciate you guys help on this.
Session Info
The text was updated successfully, but these errors were encountered: