GetShapeMML: Shows how the MML Shape files have been converted into the...

Description Usage Arguments Details Value Author(s) References Examples

Description

The various Finland shape data files obtained from http://www.maanmittauslaitos.fi/aineistot-palvelut/digitaaliset-tuotteet/ilmaiset-aineistot/hankinta have been preprocessed using this script, and the preprocessed versions are made available in soRvi package. Load the readily preprocessed data for use by typing in R: 'data(MML)'. Procedure for obtaining the data(MML) in soRvi package: 1) Download the MML shape files zip archives 1_milj_Shape_etrs_shape.zip and 4_5_milj_shape_etrs-tm35fin.zip from http://www.maanmittauslaitos.fi/aineistot-palvelut/digitaaliset-tuotteet/ilmaiset-aineistot/hankinta and place them in temporary data directory (input.data.dir) 2) Run: GetShapeMML(input.data.dir) 3) Store the preprocessed data in the specified output file: save(MML, file = "MML.rda") 4) Compress the output file size require(tools) res <- resaveRdaFiles(MML.rda) 5) Store the data in soRvi data directory: pkg/data/MML.rda

Usage

1
  GetShapeMML(input.data.dir = "./", verbose = TRUE)

Arguments

input.data.dir

Directory path where the original data can be accessed.

verbose

Print intermediate processing information

Returns:

Details

Arguments:

Value

Returns a list of preprocessed shape files containing the public MML data sets.

Author(s)

Leo Lahti sorvi-commits@lists.r-forge.r-project.org

References

See citation("sorvi")

Examples

1
2
3
4
# MML <- GetShapeMML(data.dir = "./")
# save(MML, file = "MML.rda")
# require(tools)
# res <- resaveRdaFiles(MML.rda)

Example output

sorvi - Tools for Finnish Open Data.
Copyright (C) 2010-2015 Leo Lahti, Juuso Parkkinen, Juuso Haapanen, Einari Happonen, Jussi Paananen, Joona Lehtomaki ym.

http://github.com/ropengov/sorvi 

 Hard sciences are successful because they deal with soft problems; 
 soft sciences are struggling because they deal with hard problems.
-                        Von Foerster

sorvi documentation built on May 2, 2019, 6:16 p.m.