Read an example shapefile
shp_example(example_file) shp_example_all()
example_file | An example filename (see examples for a list of names) |
---|
A full path to the example file
#> [1] "3dpoints.shp" "anno.shp" "brklinz.shp" #> [4] "csah.shp" "eccities.shp" "masspntz.shp" #> [7] "mexico/cities.shp" "mexico/drainage.shp" "mexico/lakes.shp" #> [10] "mexico/rivers.shp" "mexico/roads_rt.shp" "mexico/roads.shp" #> [13] "mexico/states.shp" "mpatch3.shp" "multipatch.shp" #> [16] "multipnt.shp" "pline.shp" "polygon.shp"# get full path of one example file shp_example("mexico/cities.shp")#> [1] "/Users/runner/work/_temp/Library/shp/shp/mexico/cities.shp"# get full path of all example files shp_example_all()#> [1] "/Users/runner/work/_temp/Library/shp/shp/3dpoints.shp" #> [2] "/Users/runner/work/_temp/Library/shp/shp/anno.shp" #> [3] "/Users/runner/work/_temp/Library/shp/shp/brklinz.shp" #> [4] "/Users/runner/work/_temp/Library/shp/shp/csah.shp" #> [5] "/Users/runner/work/_temp/Library/shp/shp/eccities.shp" #> [6] "/Users/runner/work/_temp/Library/shp/shp/masspntz.shp" #> [7] "/Users/runner/work/_temp/Library/shp/shp/mexico/cities.shp" #> [8] "/Users/runner/work/_temp/Library/shp/shp/mexico/drainage.shp" #> [9] "/Users/runner/work/_temp/Library/shp/shp/mexico/lakes.shp" #> [10] "/Users/runner/work/_temp/Library/shp/shp/mexico/rivers.shp" #> [11] "/Users/runner/work/_temp/Library/shp/shp/mexico/roads_rt.shp" #> [12] "/Users/runner/work/_temp/Library/shp/shp/mexico/roads.shp" #> [13] "/Users/runner/work/_temp/Library/shp/shp/mexico/states.shp" #> [14] "/Users/runner/work/_temp/Library/shp/shp/mpatch3.shp" #> [15] "/Users/runner/work/_temp/Library/shp/shp/multipatch.shp" #> [16] "/Users/runner/work/_temp/Library/shp/shp/multipnt.shp" #> [17] "/Users/runner/work/_temp/Library/shp/shp/pline.shp" #> [18] "/Users/runner/work/_temp/Library/shp/shp/polygon.shp"