readLoggerTable: 'readLoggerTable' Read table from Logger Access database

Description Usage Arguments Details Value Author(s) See Also

View source: R/readLogger.R

Description

readLoggerTable Read table from Logger Access database

Usage

1
2
3
4
5
6
readLoggerTable(
  theDB = "Midnatsol_20191122",
  theTable = "GpsData",
  to.spatial = F,
  int = 1
)

Arguments

theDB

Name of database as defined in ODBC data sources

theTable

Name of the table to read

to.spatial

Logical indicating if a table containing GPS data should be returned as a data frame (default) or as a SpatialPointsDataFrame

int

Interval setting the downscaling of GPS data. Read in every int line from data table.

Details

The database must first be set up as a DSN data source. Note! On Windows, only 32-bit data sources can be used, and R (or RStudio) has to be run in 32-bit mode for these functions to work.

Value

Returns a data frame corresponding to the desired table.

Author(s)

Martin Biuw

See Also

readLogger to read entire sightings database, correctEffort to correct inconsistencies in effort table, filterGPS to flag bad GPS positions, fillGPS to fill in missing GPS positions after filtering mkLeaflet to make interactive Leaflet map of sightings. convert2spatial to convert selected parts of sightings data list to shapefiles.

Other Logger sightings database functions: convert2spatial(), correctEffort(), fillGPS(), filterGPS(), mkLeaflet(), readLogger()


embiuw/LoggeR documentation built on May 21, 2020, 4:34 p.m.