diff --git a/explorations/primero.ipynb b/explorations/primero.ipynb index a92cec5..f598b7d 100644 --- a/explorations/primero.ipynb +++ b/explorations/primero.ipynb @@ -146,15 +146,14 @@ }, { "cell_type": "code", - "execution_count": 11, + "execution_count": 1, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "Primero API library version 0.2.0\n", - "{'name': 'administrator', 'created_at': '2024-10-11T09:40:36.969Z', 'updated_at': '2024-10-11T09:40:36.969Z', 'system_version': '2.11.0-rc3'}\n", + "Primero API library version 0.2.1\n", "Primero Server version 2.11.0-rc3\n" ] } @@ -185,39 +184,25 @@ }, { "cell_type": "code", - "execution_count": 12, + "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "error calling primero server: %s: %s, url: %s 404 {\"errors\":[{\"status\":404,\"resource\":\"/api/v2/reports/%3Cbuilt-in%20function%20id%3E\",\"detail\":\"Couldn't find Report with 'id'=\\u003cbuilt-in function id\\u003e\",\"message\":\"Not Found\"}]} http://localhost/api/v2/reports/\n", - "1 ** This report has no data **\n", - "2 ** This report has no data **\n", - "3 ** This report has no data **\n", - "4 ** This report has no data **\n", - "5 ** This report has no data **\n", - "6 ** This report has no data **\n", - "7 ** This report has no data **\n", - "8 ** This report has no data **\n", - "9 ** This report has no data **\n", - "10 ** This report has no data **\n", - "11 ** This report has no data **\n", - "12 ** This report has no data **\n", - "13 ** This report has no data **\n" + "1 Registration CP\n", + "2 Caseload Summary CP\n", + "3 Case status by case worker CP\n", + "4 Cases by Agency CP\n", + "5 Cases by Nationality\n", + "6 Cases by Age and Sex\n", + "7 Cases by Protection Concern\n", + "8 Current Care Arrangements\n", + "10 Follow up by month by Agency\n", + "11 Follow up by week by Agency\n", + "12 Cases per Month\n", + "13 Cases with case plans\n" ] } ], @@ -233,7 +218,7 @@ }, { "cell_type": "code", - "execution_count": 13, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -318,7 +303,7 @@ "3 8 2 18+ 18+ 10" ] }, - "execution_count": 13, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -934,9 +919,9 @@ ], "metadata": { "kernelspec": { - "display_name": "Python 3.12 (mag_py312)", + "display_name": ".venv", "language": "python", - "name": "mag_py312" + "name": "python3" }, "language_info": { "codemirror_mode": {