This function looks into the database and returns all combined
information in the POLDIV1 and POLDIV2 tables (see documentation
of the EPD:
Because the function returns a whole table, it only needs a parameter
with a valid connection to the database. The list can be restricted
to specific countries using parameter
PostgreSQLConnection. Object of class
Character vector indicating the three letters code or the full name of the desired countries.
data.frame with four columns:
"poldiv2"Region code consisting of two digit integer. This code is not a key field in the database and thus can be two regions with the same poldiv2 value. This field allows to differentiate regions within the same country.
"poldiv1"Country code consisting of three capital letters. This code is unique for each country.
"regionname"Region full name.
"countryname"Country full name.
1 2 3 4 5 6 7 8 9
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.