CSmosquitoSp.export: CSmosquitoSp export

Description Usage Arguments Value Author(s) See Also Examples

View source: R/CSmosquitoSp_export.R

Description

This function export results computed using CSmosquitoSp.analysis function a specific Area Of Interest and a selected temporal range.

Usage

1
2
CSmosquitoSp.export(x, output_path, points = FALSE, kml = FALSE,
  sensitive = FALSE)

Arguments

x

Input object of class CSmosquitoSp.obj

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).

Value

The function export the results generated using function CSmosquitoSp.analysis to disk. Output vector file format are 'shapefile' and 'kml' (optional).

Author(s)

Federico Filipponi

See Also

CSmosquitoSp.analysis CSmosquitoSp.plot

Examples

 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)

ffilipponi/CSmosquitoSp documentation built on July 2, 2020, 6:25 p.m.