lawn: Client for 'Turfjs' for 'Geospatial' Analysis

Client for 'Turfjs' (<http://turfjs.org>) for 'geospatial' analysis. The package revolves around using 'GeoJSON' data. Functions are included for creating 'GeoJSON' data objects, measuring aspects of 'GeoJSON', and combining, transforming, and creating random 'GeoJSON' data objects.

Author
Scott Chamberlain [aut, cre], Jeff Hollister [aut], Morgan Herlocker [cph]
Date of publication
2016-10-25 10:30:39
Maintainer
Scott Chamberlain <myrmecocystus@gmail.com>
License
MIT + file LICENSE
Version
0.3.0
URLs

View on CRAN

Man pages

as_feature
Convert a FeatureCollection to a Feature
as.turf
Coerce to turf.js javascript function call
data-types
Description of GeoJSON data types
georandom
Return a FeatureCollection with N number of features with...
lawn_aggregate
Calculate a series of aggregations for a set of points within...
lawn_along
Get a point at a distance along a line
lawn_area
Calculate the area of a polygon or group of polygons
lawn_average
Average of a field among points within polygons
lawn_bbox
Make a bounding box from a polygon
lawn_bbox_polygon
Make a polygon from a bounding box
lawn_bearing
Get geographic bearing between two points
lawn_bezier
Curve a linestring
lawn_buffer
Buffer a feature
lawn_center
Get center point
lawn_centroid
Centroid
lawn_circle
circle
lawn_collect
Collect method
lawn_combine
Combine singular features into plural versions
lawn_concave
Concave hull polygon
lawn_convex
Convex hull polygon
lawn_count
Count number of points within polygons
lawn_data
Data for use in examples
lawn-defunct
Defunct functions in 'lawn'
lawn_destination
Calculate destination point
lawn_deviation
Standard deviation of a field among points within polygons
lawn_difference
Difference
lawn_distance
Distance between two points
lawn_envelope
Calculate envelope around features
lawn_explode
Explode vertices to points
lawn_extent
Get a bounding box
lawn_feature
Create a Feature
lawn_featurecollection
Create a FeatureCollection
lawn_filter
Filter a FeatureCollection by a given property and value
lawn_flip
Flip x,y to y,x, and vice versa
lawn_geometrycollection
Create a geometrycollection
lawn_hex_grid
Create a HexGrid
lawn_inside
Does a point reside inside a polygon
lawn_intersect
Intersection
lawn_isolines
Generate Isolines
lawn_jenks
Get Jenks breaks
lawn_kinks
Get points at all self-intersections of a polygon
lawn_line_distance
Measure a linestring
lawn_line_slice
Slice a line given two points
lawn_linestring
Create a linestring
lawn_max
Maximum value of a field among points within polygons
lawn_median
Median value of a field among points within polygons
lawn_merge
Merge polygons
lawn_midpoint
Get a point midway between two points
lawn_min
Minimum value of a field among points within polygons
lawn_multilinestring
Create a multilinestring
lawn_multipoint
Create a multipoint
lawn_multipolygon
Create a multipolygon
lawn_nearest
Get nearest point
lawn-package
R client for turf.js for geospatial analysis
lawn_planepoint
Calculate a Planepoint
lawn_point
Create a point
lawn_point_grid
Create a PointGrid
lawn_point_on_line
Get closest point on linestring to reference point
lawn_point_on_surface
Get a point on the surface of a feature
lawn_polygon
Create a polygon
lawn_quantile
Calculate quantiles
lawn_random
Generate random data
lawn_reclass
Reclassify properties data
lawn_remove
Remove things from a FeatureCollection
lawn_sample
Return features from FeatureCollection at random
lawn_simplify
Simplify GeoJSON data
lawn_size
Expand a bounding box
lawn_square
Calculate a square bounding box
lawn_square_grid
Create a SquareGrid
lawn_sum
Sum of a field among points within polygons
lawn_tag
Spatial join of points and polygons
lawn_tesselate
Tesselate
lawn_tin
Create a Triangulated Irregular Network
lawn_triangle_grid
Create a TriangleGrid
lawn_union
Merge polygons
lawn_variance
Variance of a field among points within polygons
lawn_within
Return points that fall within polygons
pipe
Pipe operator
print-methods
Lawn print methods to provide summary view
type_sum
Type summary
view
Visualize geojson

Files in this package

lawn
lawn/inst
lawn/inst/examples
lawn/inst/examples/isolines_data.json
lawn/inst/ignore
lawn/inst/ignore/cordall.R
lawn/inst/doc
lawn/inst/doc/lawn_vignette.R
lawn/inst/doc/lawn_vignette.html
lawn/inst/doc/lawn_vignette.Rmd
lawn/inst/js
lawn/inst/js/LICENSE-clone
lawn/inst/js/cloner.js
lawn/inst/js/geojsonhint-v2beta.js
lawn/inst/js/LICENSE-geojson-random
lawn/inst/js/README.md
lawn/inst/js/geojsonhint.js
lawn/inst/js/turf352.js
lawn/inst/js/LICENSE-turfjs
lawn/inst/js/simple-statistics.js
lawn/inst/js/geojson_random.js
lawn/inst/js/LICENSE-simple-statistics
lawn/inst/js/LICENSE-geojsonhint
lawn/tests
lawn/tests/testthat
lawn/tests/testthat/test-planepoint.R
lawn/tests/testthat/test-deviation.R
lawn/tests/testthat/test-point_on_line.R
lawn/tests/testthat/test-line_distance.R
lawn/tests/testthat/test-isolines.R
lawn/tests/testthat/test-count.R
lawn/tests/testthat/test-inside.R
lawn/tests/testthat/test-center.R
lawn/tests/testthat/test-kinks.R
lawn/tests/testthat/test-centroid.R
lawn/tests/testthat/test-bbox_polygon.R
lawn/tests/testthat/test-polygon.R
lawn/tests/testthat/test-variance.R
lawn/tests/testthat/test-linestring.R
lawn/tests/testthat/test-max.R
lawn/tests/testthat/test-triangle_grid.R
lawn/tests/testthat/test-point.R
lawn/tests/testthat/test-collect.R
lawn/tests/testthat/test-along.R
lawn/tests/testthat/test-area.R
lawn/tests/testthat/test-line_slice.R
lawn/tests/testthat/test-square.R
lawn/tests/testthat/test-check4leaflet.R
lawn/tests/testthat/test-envelope.R
lawn/tests/testthat/test-merge.R
lawn/tests/testthat/test-destination.R
lawn/tests/testthat/test-average.R
lawn/tests/testthat/test-median.R
lawn/tests/testthat/test-buffer.R
lawn/tests/testthat/test-geojson_random.R
lawn/tests/testthat/test-explode.R
lawn/tests/testthat/test-filter.R
lawn/tests/testthat/test-featurecollection.R
lawn/tests/testthat/test-tin.R
lawn/tests/testthat/test-onload.R
lawn/tests/testthat/test-concave.R
lawn/tests/testthat/test-midpoint.R
lawn/tests/testthat/test-erase.R
lawn/tests/testthat/test-tag.R
lawn/tests/testthat/test-nearest.R
lawn/tests/testthat/test-square_grid.R
lawn/tests/testthat/test-bezier.R
lawn/tests/testthat/test-simplify.R
lawn/tests/testthat/test-sample.R
lawn/tests/testthat/test-intersect.R
lawn/tests/testthat/test-distance.R
lawn/tests/testthat/test-random.R
lawn/tests/testthat/test-flip.R
lawn/tests/testthat/test-combine.R
lawn/tests/testthat/test-min.R
lawn/tests/testthat/test-point_grid.R
lawn/tests/testthat/test-union.R
lawn/tests/testthat/test-sum.R
lawn/tests/testthat/test-view.R
lawn/tests/testthat/test-as.turf.R
lawn/tests/testthat/test-lint.R
lawn/tests/testthat/test-within.R
lawn/tests/testthat/test-hex_grid.R
lawn/tests/testthat/test-bearing.R
lawn/tests/testthat/test-point_on_surface.R
lawn/tests/testthat/test-extent.R
lawn/tests/testthat/test-remove.R
lawn/tests/testthat/test-convex.R
lawn/tests/test-all.R
lawn/NAMESPACE
lawn/NEWS.md
lawn/data
lawn/data/lawn_data.rda
lawn/R
lawn/R/buffer.R
lawn/R/as_feature.R
lawn/R/geometrycollection.R
lawn/R/min.R
lawn/R/along.R
lawn/R/collect.R
lawn/R/tag.R
lawn/R/tin.R
lawn/R/defunct-deprecated.R
lawn/R/line_distance.R
lawn/R/combine.R
lawn/R/square_grid.R
lawn/R/onLoad.R
lawn/R/random.R
lawn/R/point_on_surface.R
lawn/R/data-types.R
lawn/R/variance.R
lawn/R/line_slice.R
lawn/R/average.R
lawn/R/bbox_polygon.R
lawn/R/square.R
lawn/R/polygon.R
lawn/R/count.R
lawn/R/pipe.R
lawn/R/circle.R
lawn/R/sample.R
lawn/R/linestring.R
lawn/R/lawn_bbox.R
lawn/R/tesselate.R
lawn/R/multipoint.R
lawn/R/inside.R
lawn/R/filter.R
lawn/R/flip.R
lawn/R/within.R
lawn/R/sum.R
lawn/R/featurecollection.R
lawn/R/kinks.R
lawn/R/lawn_feature.R
lawn/R/remove.R
lawn/R/triangle_grid.R
lawn/R/concave.R
lawn/R/geojson_random.R
lawn/R/simplify.R
lawn/R/union.R
lawn/R/lawn-package.R
lawn/R/point.R
lawn/R/nearest.R
lawn/R/hex_grid.R
lawn/R/destination.R
lawn/R/bearing.R
lawn/R/center.R
lawn/R/extent.R
lawn/R/point_grid.R
lawn/R/bezier.R
lawn/R/midpoint.R
lawn/R/deviation.R
lawn/R/explode.R
lawn/R/centroid.R
lawn/R/multilinestring.R
lawn/R/convex.R
lawn/R/print_methods.R
lawn/R/isolines.R
lawn/R/planepoint.R
lawn/R/median.R
lawn/R/point_on_line.R
lawn/R/merge.R
lawn/R/check_leaflet.R
lawn/R/view.R
lawn/R/as.turf.R
lawn/R/multipolygon.R
lawn/R/intersect.R
lawn/R/erase.R
lawn/R/zzz.R
lawn/R/tbldf.R
lawn/R/distance.R
lawn/R/max.R
lawn/R/area.R
lawn/R/envelope.R
lawn/vignettes
lawn/vignettes/img
lawn/vignettes/img/map2.png
lawn/vignettes/img/map1.png
lawn/vignettes/lawn_vignette.Rmd
lawn/README.md
lawn/MD5
lawn/build
lawn/build/vignette.rds
lawn/DESCRIPTION
lawn/man
lawn/man/lawn_size.Rd
lawn/man/lawn_destination.Rd
lawn/man/lawn_within.Rd
lawn/man/lawn_extent.Rd
lawn/man/lawn_envelope.Rd
lawn/man/pipe.Rd
lawn/man/lawn_average.Rd
lawn/man/lawn_isolines.Rd
lawn/man/lawn_convex.Rd
lawn/man/lawn_reclass.Rd
lawn/man/lawn_square_grid.Rd
lawn/man/lawn_collect.Rd
lawn/man/lawn_max.Rd
lawn/man/lawn_explode.Rd
lawn/man/lawn_center.Rd
lawn/man/lawn_bbox_polygon.Rd
lawn/man/lawn_difference.Rd
lawn/man/lawn_merge.Rd
lawn/man/lawn_triangle_grid.Rd
lawn/man/lawn_polygon.Rd
lawn/man/lawn_bearing.Rd
lawn/man/lawn-defunct.Rd
lawn/man/lawn_multipoint.Rd
lawn/man/lawn_concave.Rd
lawn/man/type_sum.Rd
lawn/man/lawn_variance.Rd
lawn/man/lawn_tin.Rd
lawn/man/lawn-package.Rd
lawn/man/lawn_sum.Rd
lawn/man/lawn_remove.Rd
lawn/man/lawn_sample.Rd
lawn/man/lawn_combine.Rd
lawn/man/lawn_square.Rd
lawn/man/lawn_point_on_line.Rd
lawn/man/lawn_random.Rd
lawn/man/lawn_aggregate.Rd
lawn/man/lawn_filter.Rd
lawn/man/lawn_hex_grid.Rd
lawn/man/lawn_union.Rd
lawn/man/lawn_quantile.Rd
lawn/man/lawn_kinks.Rd
lawn/man/lawn_area.Rd
lawn/man/lawn_data.Rd
lawn/man/lawn_bezier.Rd
lawn/man/lawn_midpoint.Rd
lawn/man/lawn_linestring.Rd
lawn/man/lawn_point_on_surface.Rd
lawn/man/lawn_geometrycollection.Rd
lawn/man/as.turf.Rd
lawn/man/lawn_line_slice.Rd
lawn/man/georandom.Rd
lawn/man/lawn_min.Rd
lawn/man/lawn_multipolygon.Rd
lawn/man/lawn_simplify.Rd
lawn/man/print-methods.Rd
lawn/man/lawn_point.Rd
lawn/man/lawn_featurecollection.Rd
lawn/man/lawn_flip.Rd
lawn/man/lawn_jenks.Rd
lawn/man/lawn_along.Rd
lawn/man/lawn_count.Rd
lawn/man/lawn_intersect.Rd
lawn/man/lawn_line_distance.Rd
lawn/man/lawn_deviation.Rd
lawn/man/data-types.Rd
lawn/man/as_feature.Rd
lawn/man/lawn_bbox.Rd
lawn/man/lawn_distance.Rd
lawn/man/lawn_buffer.Rd
lawn/man/lawn_point_grid.Rd
lawn/man/lawn_inside.Rd
lawn/man/lawn_circle.Rd
lawn/man/lawn_tag.Rd
lawn/man/lawn_nearest.Rd
lawn/man/lawn_centroid.Rd
lawn/man/lawn_tesselate.Rd
lawn/man/lawn_multilinestring.Rd
lawn/man/lawn_planepoint.Rd
lawn/man/lawn_median.Rd
lawn/man/lawn_feature.Rd
lawn/man/view.Rd
lawn/LICENSE