Clean Air Markets API Portal
A suite of API's that EPA's Clean Air Markets Division provides to access the data collected to run programs designed to reduce air pollution from power plants.
https://github.com/USEPA/cam-api-portal
Category: Emissions
Sub Category: Emission Observation and Modeling
Keywords
oar
Keywords from Contributors
archiving transforms measur generic optimize observation compose conversion projection animals
Last synced: about 20 hours ago
JSON representation
Repository metadata
Api for data collected to run programs designed to reduce air pollution from power plants
- Host: GitHub
- URL: https://github.com/USEPA/cam-api-portal
- Owner: USEPA
- License: mit
- Created: 2021-09-08T13:15:25.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-13T03:17:18.000Z (8 months ago)
- Last Synced: 2025-04-20T09:43:56.935Z (8 days ago)
- Topics: oar
- Language: JavaScript
- Homepage:
- Size: 5.69 MB
- Stars: 5
- Watchers: 3
- Forks: 5
- Open Issues: 40
- Releases: 3
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
README.md
Clean Air Markets API Portal
The Clean Air Markets (CAM) API Portal is the documentation site for a suite of API's that EPA's Clean Air and Power Division (CAPD) provides to access the data collected to run programs designed to reduce air pollution from power plants. These APIs are also used by the Clean Air Markets Programd Data (CAMPD) site and the new version of the Emission Collection and Monitoring Plan System (ECMPS).
npm login
This project uses npm to install packages, start and testing the app, etc. Project contributors will need to use a personal access token (PAT) to authenticate to GitHub Packages. The PAT scopes should include repo and read:packages. You can authentiate to GitHub Packages by either logging into npm via the CLI or editing your ~/.npmrc file, see the GitHub Guidance here.
After configuring your npm login, users may continue experiencing issues using npm and should run npm clean cache -f
to clean the npm cache.
Required environment variables
$REACT_APP_API_UMBRELLA_KEY_CREATOR={cam_api_portal API key for API key signup form found in api gateway}
Available Scripts
In the project directory, you can run:
npm start
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
The page will reload if you make edits.
You will also see any lint errors in the console.
npm test
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
npm run build
Builds the app for production to the build
folder.
It correctly bundles React in production mode and optimizes the build for the best performance.
Production build steps
- Merge any updates and re-run
npm install
- Test locally with
npm run start
- API docs
- API key signup form
- Contact us form
- Any new links or content
- Run unit tests
- Run
npm run build
- Copy all css artifacts into clipboard using
cat build/static/css/*.css > /dev/clipboard
orcat build/static/css/*.css | clip
(on Windows) - Paste copied css artifacts (e.g., for the react-swagger pages and any custom css) into "Page Javascript" section in drupal within a <style> tag
- Copy all javascript artifacts into clipboard using
cat build/static/js/*.js > /dev/clipboard
orcat build/static/js/*.js | clip
(in Windows) - Paste copied javascript artifacts into "Page Javascript" section in drupal within a <script> tag
- Tag new version and create release within github including the complete html drupal artifact
- Update any cam-api-example scripts with new changes and merge into master
License & Contributing
This project is licensed under the MIT License. We encourage you to read this project’s License, Contributing Guidelines, and Code of Conduct.
Disclaimer
The United States Environmental Protection Agency (EPA) GitHub project code is provided on an "as is" basis and the user assumes responsibility for its use. EPA has relinquished control of the information and no longer has responsibility to protect the integrity, confidentiality, or availability of the information. Any reference to specific commercial products, processes, or services by service mark, trademark, manufacturer, or otherwise, does not constitute or imply their endorsement, recommendation or favoring by EPA. The EPA seal and logo shall not be used in any manner to imply endorsement of any commercial product or activity by EPA or the United States Government.
Owner metadata
- Name: U.S. Environmental Protection Agency
- Login: USEPA
- Email:
- Kind: organization
- Description:
- Website: https://www.epa.gov
- Location: United States of America
- Twitter: EPA
- Company:
- Icon url: https://avatars.githubusercontent.com/u/1304320?v=4
- Repositories: 449
- Last ynced at: 2024-04-14T19:47:37.473Z
- Profile URL: https://github.com/USEPA
GitHub Events
Total
- Fork event: 2
Last Year
- Fork event: 2
Committers metadata
Last synced: 6 days ago
Total Commits: 130
Total Committers: 12
Avg Commits per committer: 10.833
Development Distribution Score (DDS): 0.846
Commits in past year: 19
Committers in past year: 7
Avg Commits per committer in past year: 2.714
Development Distribution Score (DDS) in past year: 0.526
Name | Commits | |
---|---|---|
mibarra | i****e@e****v | 20 |
dependabot[bot] | 4****] | 19 |
Johnathan Tafoya | t****n@e****v | 16 |
Mike Heese | h****l@e****v | 16 |
Johnathan Tafoya | 6****a | 15 |
kstetsyuk | s****a@e****v | 11 |
sgillEPA | 8****A | 10 |
kstetsyuk | 7****k | 8 |
Theresa Nguyen | n****a@e****v | 7 |
TNGUYE02 | T****2@L****2 | 5 |
sgillEPA | g****p@e****v | 2 |
NickNguyenEPA | 1****A | 1 |
Committer domains:
- epa.gov: 6
Issue and Pull Request metadata
Last synced: 2 days ago
Total issues: 55
Total pull requests: 73
Average time to close issues: 2 months
Average time to close pull requests: about 1 month
Total issue authors: 6
Total pull request authors: 7
Average comments per issue: 0.69
Average comments per pull request: 0.47
Merged pull request: 57
Bot issues: 7
Bot pull requests: 30
Past year issues: 2
Past year pull requests: 21
Past year average time to close issues: N/A
Past year average time to close pull requests: 3 days
Past year issue authors: 1
Past year pull request authors: 4
Past year average comments per issue: 6.0
Past year average comments per pull request: 0.48
Past year merged pull request: 14
Past year bot issues: 2
Past year bot pull requests: 18
Top Issue Authors
- j-tafoya (40)
- github-actions[bot] (7)
- ibarra-michelle (2)
- ntknguyen (2)
- maheese (2)
- sgillEPA (2)
Top Pull Request Authors
- dependabot[bot] (30)
- sgillEPA (12)
- j-tafoya (11)
- kstetsyuk (8)
- ibarra-michelle (6)
- ntknguyen (5)
- NickNguyenEPA (1)
Top Issue Labels
- resources subpage (3)
- API docs subpage (2)
- all pages (1)
Top Pull Request Labels
- dependencies (30)
Dependencies
- 1602 dependencies
- husky ^7.0.4 development
- jest-axe ^5.0.1 development
- lint-staged ^12.1.5 development
- prettier ^2.5.1 development
- @testing-library/jest-dom ^5.14.1
- @testing-library/react ^11.2.7
- @testing-library/user-event ^12.8.3
- @trussworks/react-uswds ^2.7.0
- @us-epa-camd/easey-design-system ^1.27.0
- react ^17.0.2
- react-dom ^17.0.2
- react-router-dom ^6.2.1
- react-scripts 4.0.3
- swagger-ui-react ^4.10.3
- uswds ^2.11.2
- web-vitals ^1.1.2
- actions/checkout v2 composite
- github/codeql-action/analyze v1 composite
- github/codeql-action/autobuild v1 composite
- github/codeql-action/init v1 composite
- actions/checkout v2 composite
- actions/setup-node v1 composite
- zaproxy/action-baseline v0.3.0 composite
Score: 6.2915691395583195