View source: R/gisco_get_healthcare.R
gisco_get_healthcare | R Documentation |
The dataset contains information on main healthcare services considered to be 'hospitals' by Member States.
gisco_get_healthcare(
cache = TRUE,
update_cache = FALSE,
cache_dir = NULL,
verbose = FALSE,
country = NULL
)
cache |
A logical whether to do caching. Default is |
update_cache |
A logical whether to update cache. Default is |
cache_dir |
A path to a cache directory. See About caching. |
verbose |
Logical, displays information. Useful for debugging,
default is |
country |
Optional. A character vector of country codes. It could be
either a vector of country names, a vector of ISO3 country codes or a
vector of Eurostat country codes. Mixed types (as |
Files are distributed on EPSG:4326. Metadata available on https://gisco-services.ec.europa.eu/pub/healthcare/metadata.pdf.
A POINT
object.
You can set your cache_dir
with gisco_set_cache_dir()
.
Sometimes cached files may be corrupt. On that case, try re-downloading
the data setting update_cache = TRUE
.
If you experience any problem on download, try to download the
corresponding .geojson file by any other method and save it on your
cache_dir
. Use the option verbose = TRUE
for debugging the API query.
For a complete list of files available check gisco_db.
dieghernan, https://github.com/dieghernan/
https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/healthcare-services
gisco_get_countries()
Other infrastructure:
gisco_get_airports()
health_BEL <- gisco_get_healthcare(country = "Belgium")
health_BEL
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.