R/geojsonsf-package.R

Defines functions handle_digits print.geojson

#' @useDynLib geojsonsf, .registration = TRUE
#' @importFrom Rcpp sourceCpp
NULL

#' geo_melbourne
#'
#' GeoJSON data of Melbourne's Inner suburbs.
"geo_melbourne"

#' @export
print.geojson <- function( x, ... ) sapply(x, function(x) cat(x, "\n"))


handle_digits <- function( digits ) {
	if( is.null( digits )) return(-1)
	return( as.integer( digits ) )
}

Try the geojsonsf package in your browser

Any scripts or data that you put into this service are public.

geojsonsf documentation built on May 31, 2022, 1:05 a.m.