This is intended as a helpful front end to a REST API to the US Bureau of Transportation Statistics (BTS) Feight Analysis Framework (FAF) dataset. It has been developed by the Data To Insight Center (D2I) at Indiana University as part of the NSF ICICLE AI Institute and in collaboration with the US Bureau of Transportation Statistics. See FAF-API-ICICLE. This project was generated with Angular CLI version 18.2.12.
The frontend utilizes the following version of the FAF dataset:
- Most recent update: December 18, 2023
Tag: Smart-Foodsheds
You can access the deployed Angular frontend at:
https://faffrontend.pods.icicleai.tapis.io/
- Node.js (v18 or higher recommended)
- Angular CLI
Install globally with:npm install -g @angular/cli
git clone https://github.com/Data-to-Insight-Center/faf-frontend-ICICLE.git
cd faf-frontend-ICICLE
npm install
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The application will automatically reload if you change any of the source files.
The Angular UI is structured around two primary sections: Domestic Flow and Foreign Flow, both accessible from the left-hand navigation menu. Each section is designed to support efficient exploration and analysis of freight data.
The Domestic Flow section contains two tabs:
This tab allows for the generation of CSV files based on selected freight parameters. The following six fields must be specified via dropdown menus:
- Foreign Destination Mode
- Commodity
- Start Year
- End Year
- Origin
- Destination
Once these fields are selected, a CSV file can be generated containing the filtered data.
This tab presents state-level import and export data in the form of pie charts for a selected year, enabling quick visual analysis of freight distribution across states.
The Foreign Flow section includes two tabs:
These tabs mirror the functionality of the Domestic Import & Export section. Required values can be selected from the dropdown menus, and data can be exported in CSV format based on the selected criteria.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI Overview and Command Reference page.
Thanks to colleagues at Texas Advanced Computing Center (TACC) who are hosting the FAF Frontend as part of the NSF AI ICICLE Institute. Thanks to the US Bureau of Transportation Statistics Freight Analysis Framework for guidance.
FAF Frontend is developed by Indiana University and distributed under the BSD 3-Clause License. See LICENSE for more details.