Package index
Reading the database
Reading a NARWC extract and putting it into one predictable shape, reconciling the column names different survey programmes use for the same thing.
-
narwc_cloud_roots() - Where OneDrive and Google Drive sync to
-
narwc_codes() - NARWC database code books
-
narwc_column_mapping() - What the column names were changed to
-
narwc_fetch() - Fetch a survey file from cloud storage
-
narwc_profiles() - Survey-programme column profiles
-
narwc_schema() - NARWC columns recognised by narwcr
-
read_narwc() - Read NARWC-format survey data
-
standardize_narwc_columns() - Standardise column names onto the NARWC handbook's
Filling and validating
Checks that report rather than stop, and the fills that are safe to apply. Some columns must never be carried forward; narwc_never_fill() says which.
-
fill_legstage() - Reconstruct the line state on records that record no LEGSTAGE
-
fill_narwc() - Carry survey state forward into blank rows
-
narwc_checks() - The handbook-general check set
-
narwc_fill_columns()narwc_never_fill() - Columns that may be carried forward, and columns that must not be
-
narwc_finding() - Record one validation finding
-
narwc_strip_bins() - NARWC STRIP right-angle distance code books
-
validate_narwc() - Check survey data against the NARWC handbook
Effort and platform
Deriving what the survey was doing from what it recorded: on or off effort, from which platform, at what speed, and whether conditions allowed a sighting.
-
angles_from_declination() - Build ANGLEL and ANGLER from one declination column and a side
-
classify_platform() - Label each record's platform from how fast it was moving
-
flag_effort() - Flag on-effort records
-
make_leg_id() - Identify separate occupations of a survey line
-
on_effort_census_rows() - Which records are eligible for a right-angle distance?
-
track_speed() - Speed implied by consecutive position fixes
-
visibility_ok() - Was visibility acceptable?
Looking at it
An interactive map of an extract: sightings, effort and acoustic stations over a chosen time period, with the effort criteria as controls rather than as constants.
-
run_narwc_app() - Look at a NARWC extract on a map