Description Usage Arguments Value Author(s) Examples
Get specified spatial layer from OxCOVID19 Database
1 | get_layer(con, layer = "administrative_division", ccode, adm)
|
con |
Connection to OxCOVID19 Database. This can be specified using
the |
layer |
Name of spatial layer available in OxCOVID19 Database.
Currently, only |
ccode |
Three character ISO country code for required country layers. |
adm |
Numeric value for administrative level layer required. Possible values are 0 for whole country, 1 for administrative level 1, 2 for administrative level 2 and 3 for administrative level 3. Default is 0 for country borders. |
An object of sf
class of the specified spatial layer
Ernest Guevarra
1 2 | con <- connect_oxcovid19()
get_layer(con = con, ccode = "CHN", adm = 1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.