-
Notifications
You must be signed in to change notification settings - Fork 0
Indicator I1 : Annual catches by ocean
Norbert IRD edited this page Feb 26, 2014
·
7 revisions
This indicator produce a graph of annual catches by ocean for each species present in the input data. An associated RDF file is also produced.
Data can come from http://mdst-macroes.ird.fr:8080/constellation/WS/wfs/tuna_atlas using the layer named "i1i2_mv".
require(IRDTunaAtlas)
df <- readData(connectionType="remote", dataType="WFS",
url="http://mdst-macroes.ird.fr:8080/constellation/WS/wfs/tuna_atlas",
layer="ns11:i1i2_mv",
ogcFilter='<ogc:Filter xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml"><ogc:PropertyIsEqualTo><ogc:PropertyName>species</ogc:PropertyName><ogc:Literal>YFT</ogc:Literal></ogc:PropertyIsEqualTo></ogc:Filter>')
result <- Atlas_i1_SpeciesByOcean(df=df, yearAttributeName="year",
oceanAttributeName="ocean", speciesAttributeName="species",
valueAttributeName="value")
CAUTION : following examples are not from real / validated data
Example for Thunnus albacares (yellowfin tuna): I1 YFT rdf