getemodbiodata: Get data from the EMODnet Biology WFS

Description Usage Arguments Examples

View source: R/getemodbiodata.R

Description

This function allows you to download data using aphiaID, dasid or using an geoserverURL you get from the EMODnet Biology toolbox

Usage

1
2
3
getemodbiodata(geourl = NA, dasid = NA, aphiaid = NA, mrgid = NA,
  speciesgroup = NA, startyear = "1850", endyear = NA,
  type = "full")

Arguments

geourl

optional parameter, in case you use the geoserverURL obtained through the EMODnet Biology toolbox http://www.emodnet-biology.eu/toolbox/en/download/occurrence/explore

dasid

optional parameter, in case you want to download a single dataset. Use the dasid obtained through the http://www.emodnet-biology.eu/data-catalog (the id from the url)

aphiaid

optional parameter, in case you want to download data from a single taxon. Uses the id obtained throug ww.marinespecies.org

mrgid

optional parameter, in case you want to download data for a specific region. Use mrgid from marineregions.org or type View(IHOareas) to get an overview of the available IHO areas.

speciesgroup

optional parameter, in case you want to download data for a functional group. Values are "Algae" , "Angiosperms", "Benthos", "Birds", "Fish", "Mammals", "phytoplankton", Reptiles", "zooplankton" (Case sensitive)

startyear

optional parameter, the earliest year the collected specimen might have been collected

endyear

optional parameter, the latest year the collected specimen might have been collected

type

indicates if you want a basic download "basic" (only date, coordinates and taxon) or you want all data "full" returned from the WFS

Examples

1
2
3
4
5
6
7
getemodbiodata(dasid = "4662")
getemodbiodata(aphiaid = "141433")
getemodbiodata(speciesgroup = "Angiosperms")
getemodbiodata(dasid = c("1884","618", "5780" ), aphiaid = "2036")
getemodbiodata(dasid = "1884", type ="basic")
getemodbiodata(mrgid=c("5670","3315"))
getemodbiodata(geourl = "http://geo.vliz.be/geoserver/wfs/ows?service=WFS&version=1.1.0&request=GetFeature&typeName=Dataportal%3Aeurobis-obisenv&resultType=results&viewParams=where%3Adatasetid+IN+%285885%29%3Bcontext%3A0100&outputFormat=csv")

Daphnisd/REMODBio documentation built on May 22, 2019, 2:43 p.m.