View source: R/create_adm_map_pdf.R
create_adm_map_pdf | R Documentation |
The function creates and saves a pdf file with the location of the
administrative units in the /processed_data/maps/adm
folder. Depending on the
adm level, maps are produced for level 1 and/or level 2 administrative units.
The function will automatically load the file with the polygon information on
the location of administrative units, that needs to be created first by the
user (see Articles).
create_adm_map_pdf(param, font_size = 3)
param |
Object of type |
font_size |
Parameter to specify the font size of administrative unit name that is plotted on the map (default size = 3). If names are long or administrative unit polygons are small, the labels may get cluttered. Better results can be obtained by decreasing the font size. |
An rds file with the created grid is saved in the processed_data/maps/grid
folder.
## Not run:
create_adm_map_pdf(param)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.