0
edits
Changes
no edit summary
{{TOC right}}
__NOEDITSECTION__
The primary purpose of any information system must be to support operational use of the information it collects. That’s why IMSMANG IMSMA<sup>NG</sup> was designed with a robust reporting and analysis component that supports various reporting options. These options include:
<center>
{| class="wikitable" width="800"
|-
| align="center" colspan="5" | '''Table 15. Comparison of IMSMANG IMSMA<sup>NG</sup> Reporting Options'''
|-
| width="20pt" |
*Pivot tables and charts based on one item
| align="left" |
*Linking or exporting IMSMANG IMSMA<sup>NG</sup> data for use in external tools*Building customised reporting tools for IMSMANG IMSMA<sup>NG</sup> data
*Linking data to ArcGIS Desktop, Crystal Reports and other tools
*Supports charts
| align="left" |
*Easiest way to get IMSMANG IMSMA<sup>NG</sup> data into Excel
*Can manipulate data in common applications
| align="left" |
==Basic Reporting==
[[Image:AdminGuide_ExampleMapLayoutTemplate.png|center|500px|''Example of a Map Layout Template'']]
{{note|
* Map layouts can be printed and scaled to any size paper. This is a simple way of producing IMSMANG IMSMA<sup>NG</sup> maps without needing additional GIS software.* Map layout templates can be prepared and distributed to individual IMSMANG IMSMA<sup>NG</sup> clients, allowing information managers to prepare templates based on user preference or functional need}}
{{HowTo's
==Embedded Reporting==
There are two options for embedded reporting: iReports and data export. Both functions rely on IMSMANG IMSMA<sup>NG</sup> searches to filter data. Using iReports, information managers can build reporting templates to visualize data in a specific and repeatable format. Using data export, managers can export search results to an external tool such as Microsoft Excel and perform aggregation and statistical analysis.
===iReports===
With the iReport tool, information managers have access to an entire suite of report generation functions. iReport provides the ability to design report templates from the desired data elements; add page layout and formatting information including images, colours and text; and import the reports into IMSMANG IMSMA<sup>NG</sup> for data entry personnel to run. Information managers can also design complex reports to summarize data using sum, count, average, subreports and other statistical reporting functions similar to packages such as Crystal Reports. Being fully integrated into IMSMANGIMSMA<sup>NG</sup>, iReport can be translated into any language supported by the system. Using this approach, only information managers are presented with the complexity of designing reports while traditional users simply have to select a report (and any preceding search) and run it.
Typical uses for iReport include producing reports commonly required by multiple users within a programme. These reports can include:
</div>
In the first example, no search parameter is applied and all data in IMSMANG IMSMA<sup>NG</sup> is used in the report. But by adding a search parameter, for example, limiting this to hazards whose status is active, a different report is generated.
[[Image:AdminGuide_ReportUsingSearchParameters.png|center|500px|''Report Example Using a Search Parameter'']]
Moreover, if the hazards are further limited to hazards that are minefields (excluding UXO and battle areas), another report is generated, all using the same template. In this way, information managers can build templates and searches to fulfil multiple reporting needs.
Reports created with iReport can be printed directly within IMSMANG IMSMA<sup>NG</sup> or saved to an intermediate format such as .RTF, .PDF or .XLS for electronic transmission or additional editing or inclusion in other reports. iReport supports the inclusion of charts, images and headers and footers, and it acts as a complete reporting package similar to Crystal Reports.
{{HowTo's
}}
===Data Export===
Because data export is initiated with a search, it provides a flexible approach for getting data to an external tool. However, once the data is used in a tool outside of IMSMANGIMSMA<sup>NG</sup>, it is impossible to control how this data is manipulated which may limit the consistency of reports produced in this way.
{{note|IMSMANG IMSMA<sup>NG</sup> searches return information on only one item at a time, and data export is limited to the data returned by the search. Data from linked items (such as victim data linked to accidents) is not available for export}}
{{HowTo's
}}
==External Reporting Tools==
{{note|Using external reporting tools is a complex activity requiring an advanced understanding of SQL, reporting tools and the IMSMANG IMSMA<sup>NG</sup> data model}}
===Connecting External Reporting Tools===
The process for connecting external reporting tools is essentially the same for all tools. External tools connect to the IMSMANG IMSMA<sup>NG</sup> relational database via an ODBC connection. Information managers establish this connection by installing the ODBC driver for MySQL. When this is complete, information managers can connect any ODBC-compliant tool to the IMSMANG IMSMA<sup>NG</sup> database, including reporting tools, other database packages and SQL management tools. Examples include:
Reporting tools and
*Heidi SQL
When connecting an external reporting tool to IMSMANGIMSMA<sup>NG</sup>, it is recommended that information managers build database views within the database to do any necessary data transformations. While it is possible to directly import or connect IMSMANG IMSMA<sup>NG</sup> database tables in external tools and perform transformations within the external tools, the recommended method is to do transformations within the IMSMANG IMSMA<sup>NG</sup> database using database views and then import the resulting views into the external tools.
{{note|Building database views to transform data before importing it into other tools significantly reduces the performance hit associated with connecting external tools}}
===Building Database Views===
Building database views is the primary way of transforming data to support external reporting. Information managers can use SQL editing tools to build and save database queries as views that can be used to format data for easier reporting. Using database views, information managers can join data together into flat tables that allow for easier incorporation into reports or other analysis tools. Database views act like database tables and can be imported or queried from external tools. Moreover, views automatically refresh as data is added to IMSMANG IMSMA<sup>NG</sup> and provide an up-to-date data source for other applications.
Using database views, information managers can perform statistical and other operations on the IMSMANG IMSMA<sup>NG</sup> set for reporting purposes including sum, count and average or more complicated functions available in SQL. These operations can be combined with search criteria to provide a highly precise mechanism for providing data to reports. For example, information managers can create a view that returns the name of each clearance and a sum of the hours worked, AP mines found and area cleared on all progress reports linked to each clearance.
CL-2345 1,920 4 20 1
</center>
This view could then be pasted into Excel, linked with additional IMSMANG IMSMA<sup>NG</sup> data or external data or linked with a map to provide additional analysis. As such, database views provide a powerful way of formatting and analysing IMSMANG IMSMA<sup>NG</sup> data.
{{note|
* Database views created in IMSMANG IMSMA<sup>NG</sup> are backed up by the IMSMANG IMSMA<sup>NG</sup> backup functionality. However, it is important to correctly set the database permissions on views or it will cause problems when restoring the databases.
* Information managers should maintain separate files containing the view creation scripts so that they can be quickly and easily restored or modified. Using the CREATE OR UPDATE VIEW syntax from SQL is an easy way to build scripts for creating or updating views if they already exist}}