getSampleData | R Documentation |
Download sample data from server and save as a data.frame
getSampleData( years, regions, server = "https://grunt.sefsc.noaa.gov/rvc_analysis20/" )
years |
A numeric vector of years for which to get sample data |
regions |
A character vector of region codes for which to get sample data (e.g. "FLA KEYS", "DRY TORT", "SEFCRI") |
server |
A string containing the domain url at which to access the server |
A data.frame of analysis ready data and the following columns:
A code indicating the primary sample unit in which a sample was collected
A number indicating the calendar year
A number indicating the month of the year
A number indicating the day of the month (EST)
A number indicating the secondary sampling unit within a given primary sample unit
Latitude of secondary sampling unit in decimal degrees
Longitude of secondary sampling unit in decimal degrees
Average depth, in meters, of secondary sampling unit
Visibility, in meters, at secondary sampling unit
A number indicating the primary sample unit
A code indicating the habitat type
A code indicating the distance offshore: 1 - Inshore, 2 - Midchannel, 3 - Offshore, 4 - Fore-reef
A number indicating the subregion
A number identifying the marine protected area in which the sample was collected. Zero indicates unprotected status
A number indicating the species for a sample
A code indicating the species for a sample. Consists of the first three letters of the generic name and the first four of the specific name
The length, in cm, of a sample
The number of individuals of a given species and length observed in a secondary sampling unit
A number indicating when, during sampling, an individual was observed. 1: In the first five minutes, 2: From 5-10 minutes, 3: After 10 minutes
A boolean value indicating whether a sample was in a protected area (1), or not (0)
A code indicating the stratum in which a sample was taken. Differs by region
A code indicating the region in which a sample was taken. DRY TORT: Dry Tortugas, FLA KEYS: Florida Keys, and SEFCRI: Southeast Peninsular Florida
getStratumData
getTaxonomicData
getRvcData
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.