readLogger: 'readLogger' Read all tables from Logger Access sightings...

Description Usage Arguments Details Value Author(s) See Also

View source: R/readLogger.R

Description

readLogger Read all tables from Logger Access sightings database

Usage

1
2
3
4
5
6
7
readLogger(
  DB = "Midnatsol_20191122",
  whales = T,
  birds = T,
  spatial = F,
  interval = 60
)

Arguments

DB

Name of database as defined in ODBC data sources

whales

Logical, indicating if whale sightings table should be read

birds

Logical, indicating if bird sightings tables should be read

spatial

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

interval

Interval setting the downscaling of GPS data. Read in every interval 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 list of data frames corresponding to desired tables in the database.

Author(s)

Martin Biuw

See Also

readLoggerTable to read single table from 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(), readLoggerTable()


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