Description Usage Arguments Value Author(s) See Also Examples
View source: R/CSmosquitoSp_export.R
This function export results computed using CSmosquitoSp.analysis
function
a specific Area Of Interest and a selected temporal range.
1 2 | CSmosquitoSp.export(x, output_path, points = FALSE, kml = FALSE,
sensitive = FALSE)
|
x |
Input object of class |
output_path |
Character. Path where maps are saved on disk. |
points |
Logical. When set to TRUE export points used for the analysis also in 'shapefile' format (default to FALSE). |
kml |
Logical. When set to TRUE results are also exported in 'kml' format (default to FALSE). |
sensitive |
Logical. When set to TRUE export the sensitive information in records (default to FALSE). |
The function export the results generated using function CSmosquitoSp.analysis
to disk.
Output vector file format are 'shapefile' and 'kml' (optional).
Federico Filipponi
CSmosquitoSp.analysis
CSmosquitoSp.plot
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
# perform CSmosquitoSp spatial analysis
for the metropolitan area of the city of Rome
CSMS_roma <- CSmosquitoSp.analysis(input_db=input_db, aux_path=aux_path,
aoi="Roma", start_date="2017-09-01", end_date="2017-09-01")
# export result
CSmosquitoSp.export(x=CSMS_result, output_path="C:/output")
# export result also in kml format
CSmosquitoSp.export(x=CSMS_result, output_path="C:/output", kml=TRUE)
# export also points used for the analysis
CSmosquitoSp.export(x=CSMS_result, output_path="C:/output", points=TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.