pgtrajDrop: Delete a pgtraj/unused rows from a traj schema.

Description Usage Arguments Value Author(s) Examples

View source: R/pgTrajDrop.R

Description

pgtrajDrop deletes a pgtraj and/or all unused rows from a traj schema.

Usage

1
pgtrajDrop(conn, pgtraj = NULL, schema = "traj", full_clean = TRUE)

Arguments

conn

Connection object created with RPostgreSQL

pgtraj

String. Name of the pgtraj (can be left NULL to perform full_clean)

schema

String. Name of the schema storing the pgtraj

full_clean

String. Whether to delete all unused rows in 'relocation' table. Should be done regularly if frequently overwriting many pgtraj, but note that it can take a long time to run.

Value

TRUE on success

Author(s)

Balázs Dukai balazs.dukai@gmail.com

Examples

1
2
3
4
5
6
7
8
## Not run: 
  # drop "ibex" pgtraj in schema "traj"
  pgtrajDrop(conn, "ibex")
  
  # clean "traj" schema by deleting all unused rows in "relocation" table
  pgtrajDrop(conn)

## End(Not run)

mablab/rpostgisLT documentation built on May 10, 2020, 9:35 a.m.