mv_casualties_by_region
B.C. motor vehicle fatalities and serious injuries by region and year
Yearly counts of motor vehicle fatalities (1996 to 2017) and serious injuries (2004 to 2017) in British Columbia by police traffic region (Fraser Valley, Greater Vancouver, Northern Central, Southern Interior, Vancouver Island, Unknown), from the province's open data. The data ends in 2017. Counts of 1 to 4 are withheld. No totals, rates or causes.
Cost: 1 unit of your allowance (see Rate limits).
Parameters
measure(fatalities,serious_injuries,both, optional): default"both"region(Fraser Valley,Greater Vancouver,Northern Central,Southern Interior,Vancouver Island,Unknown, optional)year_from(integer, optional): min 1996, max 2017year_to(integer, optional): min 1996, max 2017
REST
curl -X POST https://api.bcmcp.ca/v1/tools/mv_casualties_by_region \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-d '{}'MCP
Call the tool mv_casualties_by_region with these arguments. Over raw JSON-RPC:
curl -X POST https://api.bcmcp.ca/mcp \
-H "Authorization: Bearer $BCDATA_KEY" \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mv_casualties_by_region","arguments":{}}}'What comes back
Every answer is the same envelope, over REST and over MCP: available, data, citations, freshness and notes. See Citations and freshness.