movebank / movebank-api-doc Goto Github PK
View Code? Open in Web Editor NEWDescription of download interface to build calls to the Movebank database using HTTP/CSV or JSON/JavaScript requests
Description of download interface to build calls to the Movebank database using HTTP/CSV or JSON/JavaScript requests
I was looking at the documentation and the attributes document (https://www.movebank.org/movebank/service/direct-read?attributes
). There I see an option for entity-type=event_reduced
This does not seems to be part of the documentation here. What are the options there? What is returned?
Furthermore in the documentation here I see the option to use a start and end time for event
(https://github.com/movebank/movebank-api-doc/blob/master/movebank-api.md#get-event-data-for-a-specified-time-period
). This filtering is not documented in the attribute document.
When downloading from the API its not always clear when deployment information is relevant. By default if you download event
data the deployment_id
is not included (e.g. https://github.com/movebank/movebank-api-doc/blob/master/movebank-api.md#get-event-data-from-a-study). The 'tag_id' and 'individual_id' will not conclusively give information about deployments (e.g. a tag might be deployed twice on one individual). Is deployment_id
reported in those cases? Or should I always explicitly request it? It might be an idea to include it by default.
Hi
Request data with json response null data.
https://www.movebank.org/movebank/service/public/json?study_id=16615296&individual_id=16615410&sensor_type=gps
This request is fine, but it response csv data.
https://www.movebank.org/movebank/service/direct-read?entity_type=event&study_id=16615296&individual_id=16615410
I have a unique case where I would like to review the undeployed location data for my project (pre deployment and post recovery). Is this possible via the api?
@sarahcd Not sure if this is the right place to log data upload issues, but I wanted to document it none the less.
Steps:
tag-id
)deploy-on-timestamp
: maybe by design, to force user to check format + timezonedeploy-off-timestamp
: maybe by design, to force user to check format + timezonering-id
: suprising, given that it is a free text fieldsensor-type
: surprising, given that other controlled fields were mapped. Variations Sensor type
, tag-type
, Tag type
are not recognized either.These might be a reupload issues, as that is what I have been doing (overwriting existing deployments)
I'm retrieving this url: https://www.movebank.org/movebank/service/direct-read?entity_type=deployment&study_id=1259686571
It contains the attribute tag-readout-method
, in the vocabulary it says it can be phone-network
however the api returns me phone network
. Should dashed be replaced by spaces?
Hi, I encounted this case:
curl -v -u bart:** 'https://www.movebank.org/movebank/service/direct-read?entity_type=study&study_id=2911040&attributes=name,id'
curl -v -u bart:** 'https://www.movebank.org/movebank/service/direct-read?entity_type=study&study_id=2911040&attributes=name'
curl -v -u bart:** 'https://www.movebank.org/movebank/service/direct-read?entity_type=study&study_id=2911040&attributes=id'
Here retrieving id
and name,id
work without a problem but retrieving name
throws this movebank error:
!doctype html><html lang="en"><head><title>HTTP Status 500 – Internal Server Error</title><style type="text/css">body {font-family:Tahoma,Arial,sans-serif;} h1, h2, h3, b {color:white;background-color:#525D76;} h1 {font-size:22px;} h2 {font-size:16px;} h3 {font-size:14px;} p {font-size:12px;} a {color:black;} .line {height:1px;background-color:#525D76;border:none;}</style></head><body><h1>HTTP Status 500 – Internal Server Error</h1><hr class="line" /><p><b>Type</b> Exception Report</p><p><b>Message</b> java.lang.RuntimeException: java.lang.Exception: java.lang.NullPointerException</p><p><b>Description</b> The server encountered an unexpected condition that prevented it from fulfilling the request.</p><p><b>Exception</b></p><pre>java.lang.RuntimeException: java.lang.RuntimeException: java.lang.Exception: java.lang.NullPointerException
org.movebank.webapp.server.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:207)
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
org.movebank.webapp.server.SetCacheHeadersFilter.doFilter(SetCacheHeadersFilter.java:71)
</pre><p><b>Root Cause</b></p><pre>java.lang.RuntimeException: java.lang.Exception: java.lang.NullPointerException
org.movebank.webapp.server.rest.DirectReadServlet.service(DirectReadServlet.java:964)
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.movebank.webapp.server.rest.AuthenticationFilter$Method$3.execute(AuthenticationFilter.java:123)
org.movebank.webapp.server.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:202)
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
org.movebank.webapp.server.SetCacheHeadersFilter.doFilter(SetCacheHeadersFilter.java:71)
</pre><p><b>Root Cause</b></p><pre>java.lang.Exception: java.lang.NullPointerException
org.movebank.context.TransactionContext.__runInContext(TransactionContext.java:55)
org.movebank.context.TransactionContext.runInContext(TransactionContext.java:41)
org.movebank.context.SessionContext.runInContext(SessionContext.java:53)
org.movebank.webapp.server.rest.DirectReadServlet.service(DirectReadServlet.java:889)
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.movebank.webapp.server.rest.AuthenticationFilter$Method$3.execute(AuthenticationFilter.java:123)
org.movebank.webapp.server.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:202)
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
org.movebank.webapp.server.SetCacheHeadersFilter.doFilter(SetCacheHeadersFilter.java:71)
</pre><p><b>Root Cause</b></p><pre>java.lang.RuntimeException: java.lang.NullPointerException
org.movebank.webapp.server.rest.DirectReadServlet$14.run(DirectReadServlet.java:958)
org.movebank.context.TransactionContext.__runInContext(TransactionContext.java:50)
org.movebank.context.TransactionContext.runInContext(TransactionContext.java:41)
org.movebank.context.SessionContext.runInContext(SessionContext.java:53)
org.movebank.webapp.server.rest.DirectReadServlet.service(DirectReadServlet.java:889)
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.movebank.webapp.server.rest.AuthenticationFilter$Method$3.execute(AuthenticationFilter.java:123)
org.movebank.webapp.server.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:202)
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
org.movebank.webapp.server.SetCacheHeadersFilter.doFilter(SetCacheHeadersFilter.java:71)
</pre><p><b>Root Cause</b></p><pre>java.lang.NullPointerException
org.movebank.webapp.server.rest.TableConfig.selectAllowed(TableConfig.java:98)
org.movebank.webapp.server.rest.TableConfig.getSelectAttributes(TableConfig.java:177)
org.movebank.webapp.server.rest.DirectReadServlet$14.run(DirectReadServlet.java:912)
org.movebank.context.TransactionContext.__runInContext(TransactionContext.java:50)
org.movebank.context.TransactionContext.runInContext(TransactionContext.java:41)
org.movebank.context.SessionContext.runInContext(SessionContext.java:53)
org.movebank.webapp.server.rest.DirectReadServlet.service(DirectReadServlet.java:889)
javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
org.movebank.webapp.server.rest.AuthenticationFilter$Method$3.execute(AuthenticationFilter.java:123)
org.movebank.webapp.server.rest.AuthenticationFilter.doFilter(AuthenticationFilter.java:202)
org.apache.catalina.filters.CorsFilter.handleNonCORS(CorsFilter.java:364)
org.apache.catalina.filters.CorsFilter.doFilter(CorsFilter.java:170)
org.movebank.webapp.server.SetCacheHeadersFilter.doFilter(SetCacheHeadersFilter.java:71)
I just noticed sometimes the external_id
of a tag_type is reported and sometimes the name
(for future references it might be nice to have this consistent):
> getMovebank('study',id=2911040, login=l)$sensor_type_ids
[1] "GPS,Acceleration"
> getMovebank('tag',`study_id`=2911040, login=l)$sensor_type_ids
[1] "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps"
[7] "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps"
[13] "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps"
[19] "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps"
[25] "acceleration,gps" "acceleration,gps" "acceleration,gps" "acceleration,gps"
I just ran into an issue using package 'move' when trying to get the reference data for one of my studies. I was able to traceback the error to a 0 record sensor data. Specifically,
https://www.movebank.org/movebank/service/direct-read?entity_type=sensor&tag_study_id=28243149185
produces no records. I get the 3 column headings 'id', 'sensor_type_id', and 'tag_id' but no rows.
but my companion project with GPS sensors
https://www.movebank.org/movebank/service/direct-read?entity_type=sensor&tag_study_id=2681479653
does work, for this study I get rows for each of the 40 tags.
Since there are no records output, it is causing an error in the 'move' package, but it seems like there should be 5 records for this project - one for each tag.
@sarahcd
I get an error where the api url requested is too long, this is the cause for an error reported by d douglas. This is the error message: The requested URL's length exceeds the capacity limit for this server.
. The url I'm requesting contains a lot of individual ids:
https://www.movebank.org/movebank/service/direct-read?entity_type=individual&study_id=1420256397&id=1420260456%2C1420260457%2C1420260458%2C1420260459%2C1420260460%2C1420260461%2C1420260462%2C1420260463%2C1420260464%2C1420260465%2C1420260466%2C1420260467%2C1420260468%2C1420260469%2C1420260470%2C1420260471%2C1420260472%2C1420260473%2C1420260474%2C1420260475%2C1420260476%2C1420260477%2C1420260478%2C1420260479%2C1420260480%2C1420260481%2C1420260482%2C1420260483%2C1420260484%2C1420260485%2C1420260486%2C1420260487%2C1420260488%2C1420260489%2C1420260490%2C1420260491%2C1420260492%2C1420260493%2C1420260494%2C1420260495%2C1420260496%2C1420260497%2C1420260498%2C1420260499%2C1420260500%2C1420260501%2C1420260502%2C1420260503%2C1420260504%2C1420260505%2C1420260506%2C1420260507%2C1420260508%2C1420260509%2C1420260510%2C1420260511%2C1420260512%2C1420260513%2C1420260514%2C1420260515%2C1420260516%2C1420260517%2C1420260518%2C1420260519%2C1420260520%2C1420260521%2C1420260522%2C1420260523%2C1420260524%2C1420260525%2C1420260526%2C1420260527%2C1420260528%2C1420260529%2C1420260530%2C1420260531%2C1420260532%2C1420260533%2C1420260534%2C1420260535%2C1420260536%2C1420260537%2C1420260538%2C1420260539%2C1420260540%2C1420260541%2C1420260542%2C1420260543%2C1420260544%2C1420260545%2C1420260546%2C1420260547%2C1420260548%2C1420260549%2C1420260550%2C1420260551%2C1420260552%2C1420260553%2C1420260554%2C1420260555%2C1420260556%2C1420260557%2C1420260558%2C1420260559%2C1420260560%2C1420260561%2C1420260562%2C1420260563%2C1420260564%2C1420260565%2C1420260566%2C1420260567%2C1420260568%2C1420260569%2C1420260570%2C1420260571%2C1420260572%2C1420260573%2C1420260574%2C1420260575%2C1420260576%2C1420260577%2C1420260578%2C1420260579%2C1420260580%2C1420260581%2C1420260582%2C1420260583%2C1420260584%2C1420260585%2C1420260586%2C1420260587%2C1420260588%2C1420260589%2C1420260590%2C1420260591%2C1420260592%2C1420260593%2C1420260594%2C1420260595%2C1420260596%2C1420260597%2C1420260598%2C1420260599%2C1420260600%2C1420260601%2C1420260602%2C1420260603%2C1420260604%2C1420260605%2C1420260606%2C1420260607%2C1420260608%2C1420260609%2C1420260610%2C1420260611%2C1420260612%2C1420260613%2C1420260614%2C1420260615%2C1420260616%2C1420260617%2C1420260618%2C1420260619%2C1420260620%2C1420260621%2C1420260622%2C1420260623%2C1420260624%2C1420260625%2C1420260626%2C1420260627%2C1420260628%2C1420260629%2C1420260630%2C1420260631%2C1420260632%2C1420260633%2C1420260634%2C1420260635%2C1420260636%2C1420260637%2C1420260638%2C1420260639%2C1420260640%2C1420260641%2C1420260642%2C1420260643%2C1420260644%2C1420260645%2C1420260646%2C1420260647%2C1420260648%2C1420260649%2C1420260650%2C1420260651%2C1420260652%2C1420260653%2C1420260654%2C1420260655%2C1420260656%2C1420260657%2C1420260658%2C1420260659%2C1420260660%2C1420260661%2C1420260662%2C1420260663%2C1420260664%2C1420260665%2C1420260666%2C1420260667%2C1420260668%2C1420260669%2C1420260670%2C1420260671%2C1420260672%2C1420260673%2C1420260674%2C1420260675%2C1420260676%2C1420260677%2C1420260678%2C1420260679%2C1420260680%2C1420260681%2C1420260682%2C1420260683%2C1420260684%2C1420260685%2C1420260686%2C1420260687%2C1420260688%2C1420260689%2C1420260690%2C1420260691%2C1420260692%2C1420260693%2C1420260694%2C1420260695%2C1420260696%2C1420260697%2C1420260698%2C1420260699%2C1420260700%2C1420260701%2C1420260702%2C1420260703%2C1420260704%2C1420260705%2C1420260706%2C1420260707%2C1420260708%2C1420260709%2C1420260710%2C1420260711%2C1420260712%2C1420260713%2C1420260714%2C1420260715%2C1420260716%2C1420260717%2C1420260718%2C1420260719%2C1420260720%2C1420260721%2C1420260722%2C1420260723%2C1420260724%2C1420260725%2C1420260726%2C1420260727%2C1420260728%2C1420260729%2C1420260730%2C1420260731%2C1420260732%2C1420260733%2C1420260734%2C1420260735%2C1420260736%2C1420260737%2C1420260738%2C1420260739%2C1420260740%2C1420260741%2C1420260742%2C1420260743%2C1420260744%2C1420260745%2C1420260746%2C1420260747%2C1420260748%2C1420260749%2C1420260750%2C1420260751%2C1420260752%2C1420260753%2C1420260754%2C1420260755%2C1420260756%2C1420260757%2C1420260758%2C1420260759%2C1420260760%2C1420260761%2C1420260762%2C1420260763%2C1420260764%2C1420260765%2C1420260766%2C1420260767%2C1420260768%2C1420260769%2C1420260770%2C1420260771%2C1420260772%2C1420260773%2C1420260774%2C1420260775%2C1420260776%2C1420260777%2C1420260778%2C1420260779%2C1420260780%2C1420260781%2C1420260782%2C1420260783%2C1420260784%2C1420260785%2C1420260786%2C1420260787%2C1420260788%2C1420260789%2C1420260790%2C1420260791%2C1420260792%2C1420260793%2C1420260794%2C1420260795%2C1420260796%2C1420260797%2C1420260798%2C1420260799%2C1420260800%2C1420260801%2C1420260802%2C1420260803%2C1420260804%2C1420260805%2C1420260806%2C1420260807%2C1420260808%2C1420260809%2C1420260810%2C1420260811%2C1420260812%2C1420260813%2C1420260814%2C1420260815%2C1420260816%2C1420260817%2C1420260818%2C1420260819%2C1420260820%2C1420260821%2C1420260822%2C1420260823%2C1420260824%2C1420260825%2C1420260826%2C1420260827%2C1420260828%2C1420260829%2C1420260830%2C1420260831%2C1420260832%2C1420260833%2C1420260834%2C1420260835%2C1420260836%2C1420260837%2C1420260838%2C1420260839%2C1420260840%2C1420260841%2C1420260842%2C1420260843%2C1420260844%2C1420260845%2C1420260846%2C1420260847%2C1420260848%2C1420260849%2C1420260850%2C1420260851%2C1420260852%2C1420260853%2C1420260854%2C1420260855%2C1420260856%2C1420260857%2C1420260858%2C1420260859%2C1420260860%2C1420260861%2C1420260862%2C1420260863%2C1420260864%2C1420260865%2C1420260866%2C1420260867%2C1420260868%2C1420260869%2C1420260870%2C1420260871%2C1420260872%2C1420260873%2C1420260874%2C1420260875%2C1420260876%2C1420260877%2C1420260878%2C1420260879%2C1420260880%2C1420260881%2C1420260882%2C1420260883%2C1420260884%2C1420260885%2C1420260886%2C1420260887%2C1420260888%2C1420260889%2C1420260890%2C1420260891%2C1420260892%2C1420260893%2C1420260894%2C1420260895%2C1420260896%2C1420260897%2C1420260898%2C1420260899%2C1420260900%2C1420260901%2C1420260902%2C1420260903%2C1420260904%2C1420260905%2C1420260906%2C1420260907%2C1420260908%2C1420260909%2C1420260910%2C1420260911%2C1420260912%2C1420260913%2C1420260914%2C1420260915%2C1420260916%2C1420260917%2C1420260918%2C1420260919%2C1420260920%2C1420260921%2C1420260922%2C1420260923%2C1420260924%2C1420260925%2C1420260926%2C1420260927%2C1420260928%2C1420260929%2C1420260930%2C1420260931%2C1420260932%2C1420260933%2C1420260934%2C1420260935%2C1420260936%2C1420260937%2C1420260938%2C1420260939%2C1420260940%2C1420260941%2C1420260942%2C1420260943%2C1420260944%2C1420260945%2C1420260946%2C1420260947%2C1420260948%2C1420260949%2C1420260950%2C1420260951%2C1420260952%2C1420260953%2C1420260954%2C1420260955%2C1420260956%2C1420260957%2C1420260958%2C1420260959%2C1420260960%2C1420260961%2C1420260962%2C1420260963%2C1420260964%2C1420260965%2C1420260966%2C1420260967%2C1420260968%2C1420260969%2C1420260970%2C1420260971%2C1420260972%2C1420260973%2C1420260974%2C1420260975%2C1420260976%2C1420260977%2C1420260978%2C1420260979%2C1420260980%2C1420260981%2C1420260982%2C1420260983%2C1420260984%2C1420260985%2C1420260986%2C1420260987%2C1420260988%2C1420260989%2C1420260990%2C1420260991%2C1420260992%2C1420260993%2C1420260994%2C1420260995%2C1420260996%2C1420260997%2C1420260998%2C1420260999%2C1420261000%2C1420261001%2C1420261002%2C1420261003%2C1420261004%2C1420261005%2C1420261006%2C1420261007%2C1420261008%2C1420261009%2C1420261010%2C1420261011%2C1420261012%2C1420261013%2C1420261014%2C1420261015%2C1420261016%2C1420261017%2C1420261018%2C1420261019%2C1420261020%2C1420261021%2C1420261022%2C1420261023%2C1420261024%2C1420261025%2C1420261026%2C1420261027%2C1420261028%2C1420261029%2C1420261030%2C1420261031%2C1420261032%2C1420261033%2C1420261034%2C1420261035%2C1420261036%2C1420261037%2C1420261038%2C1420261039%2C1420261040%2C1420261041%2C1420261042%2C1420261043%2C1420261044%2C1420261045%2C1420261046%2C1420261047%2C1420261048%2C1420261049%2C1420261050%2C1420261051%2C1420261052%2C1420261053%2C1420261054%2C1420261055%2C1420261056%2C1420261057%2C1420261058%2C1420261059%2C1420261060%2C1420261061%2C1420261062%2C1420261063%2C1420261064%2C1420261065%2C1420261066%2C1420261067%2C1420261068%2C1420261069%2C1420261070%2C1420261071%2C1420261072%2C1420261073%2C1420261074%2C1420261075%2C1420261076%2C1420261077%2C1420261078%2C1420261079%2C1420261080%2C1420261081%2C1420261082%2C1420261083%2C1420261084%2C1420261085%2C1420261086%2C1420261087%2C1420261088%2C1420261089%2C1420261090%2C1420261091%2C1420261092%2C1420261093%2C1420261094%2C1420261095%2C1420261096%2C1420261097%2C1420261098%2C1420261099%2C1420261100%2C1420261101%2C1420261102%2C1420261103%2C1420261104%2C1420261105%2C1420261106%2C1420261107%2C1420261108%2C1420261109%2C1420261110%2C1420261111%2C1420261112%2C1420261113%2C1420261114%2C1420261115%2C1420261116%2C1420261117%2C1420261118%2C1420261119%2C1420261120%2C1420261121%2C1420261122%2C1420261123%2C1420261124%2C1420261125%2C1420261126%2C1420261127%2C1420261128%2C1420261129%2C1420261130%2C1420261131%2C1420261132%2C1420261133%2C1420261134%2C1420261135%2C1420261136%2C1420261137%2C1420261138%2C1420261139%2C1420261140%2C1420261141%2C1420261142%2C1420261143%2C1420261144%2C1420261145%2C1420261146%2C1420261147%2C1420261148%2C1420261149%2C1420261150%2C1420261151%2C1420261152%2C1420261153%2C1420261154%2C1420261155%2C1420261156%2C1420261157%2C1420261158%2C1420261159%2C1420261160%2C1420261161%2C1420261162%2C1420261163%2C1420261164%2C1420261165%2C1420261166%2C1420261167%2C1420261168%2C1420261169%2C1420261170%2C1420261171%2C1420261172%2C1420261173%2C1420261174%2C1420261175%2C1420261176%2C1420261177%2C1420261178%2C1420261179%2C1420261180%2C1420261181%2C1420261182%2C1420261183%2C1420261184%2C1420261185%2C1420261186%2C1420261187%2C1420261188%2C1420261189%2C1420261190%2C1420261191%2C1420261192%2C1420261193%2C1420261194%2C1420261195%2C1420261196%2C1420261197%2C1420261198%2C1420261199%2C1420261200%2C1420261201%2C1420261202%2C1420261203%2C1420261204%2C1420261205%2C1420261206%2C1420261207%2C1420261208%2C1420261209%2C1420261210%2C1420261211%2C1420261212%2C1420261213%2C1420261214%2C1420261215%2C1420261216%2C1420261217%2C1420261218%2C1420261219%2C1420261220%2C1420261221%2C1420261222%2C1420261223%2C1420261224%2C1420261225%2C1420261226%2C1420261227%2C1420261228%2C1420261229%2C1420261230%2C1420261231%2C1420261232%2C1420261233%2C1420261234%2C1420261235%2C1420261236%2C1420261237%2C1420261238%2C1420261239%2C1420261240%2C1420261241%2C1420261242%2C1420261243%2C1420261244%2C1420261245%2C1420261246%2C1420261247%2C1420261248%2C1420261249%2C1420261250%2C1420261251%2C1420261252%2C1420261253%2C1420261254%2C1420261255%2C1420261256%2C1420261257%2C1420261258%2C1420261259%2C1420261260%2C1420261261%2C1420261262%2C1420261263%2C1420261264%2C1420261265%2C1420261266%2C1420261267%2C1420261268%2C1420261269%2C1420261270%2C1420261271%2C1420261272%2C1420261273%2C1420261274%2C1420261275%2C1420261276%2C1420261277%2C1420261278%2C1420261279%2C1420261280%2C1420261281%2C1420261282%2C1420261283%2C1420261284%2C1420261285%2C1420261286%2C1420261287%2C1420261288%2C1420261289%2C1420261290%2C1420261291%2C1420261292%2C1420261293%2C1420261294%2C1420261295%2C1420261296%2C1420261297%2C1420261298%2C1420261299%2C1420261300%2C1420261301%2C1420261302%2C1420261303%2C1420261304%2C1420261305%2C1420261306%2C1420261307%2C1420261308%2C1420261309%2C1420261310%2C1420261311%2C1420261312%2C1420261313%2C1420261314%2C1420261315%2C1420261316%2C1420261317%2C1420261318%2C1420261319%2C1420261320%2C1420261321%2C1420261322%2C1420261323%2C1420261324%2C1420261325%2C1420261326%2C1420261327%2C1420261328%2C1420261329%2C1420261330%2C1420261331%2C1420261332%2C1420261333%2C1420261334%2C1420261335%2C1420261336%2C1420261337%2C1420261338%2C1420261339%2C1420261340%2C1420261341%2C1420261342%2C1420261343%2C1420261344%2C1420261345%2C1420261346%2C1420261347%2C1420261348%2C1420261349%2C1420261350%2C1420261351%2C1420261352%2C1420261353%2C1420261354%2C1420261355%2C1420261356%2C1420261357%2C1420261358%2C1420261359%2C1420261360%2C1420261361%2C1420261362%2C1420261363%2C1420261364%2C1420261365%2C1420261366%2C1420261367%2C1420261368%2C1420261369%2C1420261370%2C1420261371%2C1420261372%2C1420261373%2C1420261374%2C1420261375%2C1420261376
Thanks for providing this excellent API and associated documentation. In the documentation for the event
entity, I see the description about the accept-license message, but it is unclear to me both from the API documentation and from the message itself how one would go doing that one-time accept-license step.
I tried adding the header accept-license: true
to my API call, but that didn't work. How do I accept these licenses? Can I do this over the API?
Thanks for the help!
Looks like any request I make against the study_attribute
entity type endpoint throws an internal server error, (500). for example, this query:
https://www.movebank.org/movebank/service/direct-read?entity-type=study_attribute&study_id=2238275
throws a 500 error. I don't have trouble querying against other endpoints like study
and taxon
. Any idea why this is happening? Apologies if this is not the right place to report the error.
Hi @sarahcd, we encountered a problem downloading data in move2. So here my question how one would do it with the rest api, as this will solve the move2 problem
So, I want to download all GPS
data from the individual Amadeus + / DER AY620 (eobs 5703)
in the study 21231406
as in move2 I got an error, I tried this:
https://www.movebank.org/movebank/service/direct-read?entity_type=event&study_id=21231406&sensor_type_id=653&individual_local_identifier=Amadeus + / DER AY620 (eobs 5703)
but the returned table was empty. I have the feeling that the issue is that the individual name has spaces. Do you know how to go about this?
Thanks!
After some debugging I found I could not login to the Movebank API because my password contained a colon. Would be good if this is documented.
@sarahcd Not sure if this is the right place to log data upload issues, but I wanted to document it none the less.
I noticed that one can populate the metadata field Nickname
. Indeed, if you include the field animal-nickname
in a metadata csv upload, it is automatically recognized.
The term however is not documented in https://www.movebank.org/node/2381 or the Movebank reference data template.
I see there there are filtering options for events included update_ts. Is it possible to develop a call for a given calendar day using that filter?
Something akin to:
Is there a possibility to get through the API a full list of attributes that the argument attributes
accepts?
When getting the list of attributes available for a sensor: https://www.movebank.org/movebank/service/direct-read?entity_type=study_attribute&study_id=2911040&sensor_type_id=653
the resulting list:
[1] "eobs_battery_voltage" "eobs_fix_battery_voltage" "eobs_horizontal_accuracy_estimate"
[4] "eobs_key_bin_checksum" "eobs_speed_accuracy_estimate" "eobs_start_timestamp"
[7] "eobs_status" "eobs_temperature" "eobs_type_of_fix"
[10] "eobs_used_time_to_get_fix" "ground_speed" "heading"
[13] "height_above_ellipsoid" "location_lat" "location_long"
[16] "timestamp" "update_ts" "visible"
seems incomplete when looking at the example of the API:
https://www.movebank.org/movebank/service/direct-read?entity_type=event&study_id=2911040&attributes=individual_local_identifier,tag_local_identifier,timestamp,location_long,location_lat,visible,individual_taxon_canonical_name
as individual_local_identifier,tag_local_identifier,individual_taxon_canonical_name
are not included in the study_attributes
table.
Now, ok, one could think that also animal, tag, deployment attributes can be listed in the attributes
argument, but if you search for which are available with e.g. entity_type=individual
, than these attributes are called local_identifier,taxon_canonical_name
. Very confusing for most of the users.
Is there a way of getting the complete list, with the correct names, that the attributes
argument accepts? Because as soon as there is one wrong, the study won't download....
Thanks!!
This url: https://www.movebank.org/movebank/service/direct-read?entity_type=event&study_id=2911040&attributes=all&event_reduction_profile=EURING_01
fails for me, if I explicitly mention the attributes I want it works
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.