Closed anelda closed 3 years ago
This is my favourite kind of request .. something that I've done already ;-)
Good to see we are on same wavelength @anelda ! Does indicate that we need to improve the documentation at some point !
Using iso3c or capitals should work already.
dfzaf <- afrihealthsites("south africa", datasource='who', plot=FALSE, returnclass='dataframe')
dfzaf <- afrihealthsites("ZAF", datasource='who', plot=FALSE, returnclass='dataframe')
dfzaf <- afrihealthsites("South Africa", datasource='who', plot=FALSE, returnclass='dataframe')
Excellent. I added this to the readme so that we remember to include it in future documentation. We can probably close this one then.
Is your feature request related to a problem? Please describe. At the moment the query to access country-specific data looks like this:
The way that we have to specify the country i.e. lower case full name is not very intuitive.
Describe the solution you'd like Maybe rather specify that one should use the iso3c or another standardised way to extract a country to make it as straight-forward as possible for users?