Learn R Programming

mapping (version 1.2)

saveObj: Save mapping obj

Description

Save output from loadCoord function, sf objects, IT, EU, WR, and US in different format

Usage

saveObj(obj, name, as = c("RData", "csv", "json", "geojson", "shp"), ...)

Arguments

obj

Output from loadCoord function, sf objects, IT, EU, WR, and US

name

output name

as

format

further arguments

Value

No return value.

Examples

Run this code
# NOT RUN {
# }
# NOT RUN {
data("popIT")
it <- IT(data = popIT, unit = "provincia", year = "2019")
saveObj(it, name = "it.RData")

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab