Skip to content

Commit e288a3f

Browse files
committed
add sf-package.Rd
closes #2197
1 parent 8ea9051 commit e288a3f

File tree

5 files changed

+34
-97
lines changed

5 files changed

+34
-97
lines changed

R/defunct.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' tables.
1515
#' @inheritParams st_read
1616
#' @export st_read_db st_write_db
17-
#' @aliases sf-package st_read_db, st_write_db
17+
#' @aliases st_read_db, st_write_db
1818
#' @section Details:
1919
#' \tabular{rl}{
2020
#' \code{st_read_db} \tab now a synonym for \code{\link{st_read}}\cr

R/sf.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ list_column_to_sfc = function(x) {
193193
#' Create sf object
194194
#'
195195
#' Create sf, which extends data.frame-like objects with a simple feature list column
196-
#' @name sf
196+
#' @name sf-object
197197
#' @param ... column elements to be binded into an \code{sf} object or a single \code{list} or \code{data.frame} with such columns; at least one of these columns shall be a geometry list-column of class \code{sfc} or be a list-column that can be converted into an \code{sfc} by \link{st_as_sfc}.
198198
#' @param crs coordinate reference system, something suitable as input to \link{st_crs}
199199
#' @param agr character vector; see details below.
@@ -301,7 +301,7 @@ st_sf = function(..., agr = NA_agr_, row.names,
301301

302302
.sf_namespace <- function() NULL
303303

304-
#' @name sf
304+
#' @name sf-object
305305
#' @param x object of class \code{sf}
306306
#' @param i record selection, see \link{[.data.frame}, or a \code{sf} object to work with the \code{op} argument
307307
#' @param j variable selection, see \link{[.data.frame}
@@ -402,7 +402,7 @@ st_sf = function(..., agr = NA_agr_, row.names,
402402
x
403403
}
404404

405-
#' @name sf
405+
#' @name sf-object
406406
#' @param n maximum number of features to print; can be set globally by \code{options(sf_max_print=...)}
407407
#' @export
408408
print.sf = function(x, ..., n = getOption("sf_max_print", default = 10)) {

man/sf-defunct.Rd

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/sf-package.Rd

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
\name{sf-package}
2+
\alias{sf-package}
3+
4+
\alias{sf}
5+
6+
\docType{package}
7+
8+
\title{The \code{sf} package}
9+
10+
\description{
11+
12+
Package \code{sf} provides classes and methods to work with spatial
13+
vector data (points, lines, polygons). The data structures and
14+
methods it implements follow the "Simple Feature Access" standard,
15+
which is also found in many other softwares like GDAL, GEOS, QGIS,
16+
PostGIS and other spatial databases. For introductions into the
17+
package please consult:
18+
19+
Pebesma, E. and Bivand, R. (2023). Spatial Data
20+
Science: With Applications in R. Chapman and Hall/CRC.
21+
https://doi.org/10.1201/9780429459016 which is also found freely
22+
online at https://r-spatial.org/book/
23+
24+
or
25+
26+
Pebesma, E., 2018. Simple Features for R: Standardized Support
27+
for Spatial Vector Data. The R Journal 10 (1), 439-446,
28+
https://doi.org/10.32614/RJ-2018-009 (open access)
29+
30+
}

man/sf.Rd

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)