Description Usage Arguments Details Value Author(s) See Also
readLogger
Read all tables from Logger Access sightings database
1 2 3 4 5 6 7 | readLogger(
DB = "Midnatsol_20191122",
whales = T,
birds = T,
spatial = F,
interval = 60
)
|
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 |
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.
Returns a list of data frames corresponding to desired tables in the database.
Martin Biuw
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.