https://github.com/councildataproject/atlanta
CDP Instance for Atlanta
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (9.5%) to scientific vocabulary
Keywords from Contributors
Repository
CDP Instance for Atlanta
Basic Info
- Host: GitHub
- Owner: CouncilDataProject
- License: mpl-2.0
- Language: HTML
- Default Branch: main
- Homepage: https://councildataproject.github.io/atlanta
- Size: 86.8 MB
Statistics
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 3
- Releases: 0
Metadata Files
README.md
CDP - Atlanta
⚠️⚠️ This instance of CDP is not actively collecting new data. If you are interested in maintaining this instance, please create a GitHub Issue. ⚠️⚠️
Council Data Project
Council Data Project is an open-source project dedicated to providing journalists, activists, researchers, and all members of each community we serve with the tools they need to stay informed and hold their Council Members accountable.
For more information about Council Data Project, please visit our website.
Instance Information
This repo serves the municipality: Atlanta
Python Access
Install:
pip install cdp-backend
Quickstart:
```python from cdpbackend.database import models as dbmodels from cdpbackend.pipeline.transcriptmodel import Transcript import fireo from gcsfs import GCSFileSystem from google.auth.credentials import AnonymousCredentials from google.cloud.firestore import Client
Connect to the database
fireo.connection(client=Client( project="cdp-atlanta-37e7dd70", credentials=AnonymousCredentials() ))
Read from the database
fivepeople = list(dbmodels.Person.collection.fetch(5))
Connect to the file store
fs = GCSFileSystem(project="cdp-atlanta-37e7dd70", token="anon")
Read a transcript's details from the database
transcriptmodel = list(dbmodels.Transcript.collection.fetch(1))[0]
Read the transcript directly from the file store
with fs.open(transcriptmodel.fileref.get().uri, "r") as openresource: transcript = Transcript.fromjson(open_resource.read())
OR download and store the transcript locally with get
fs.get(transcriptmodel.fileref.get().uri, "local-transcript.json")
Then read the transcript from your local machine
with open("local-transcript.json", "r") as openresource: transcript = Transcript.fromjson(open_resource.read()) ```
- See the CDP Database Schema for a Council Data Project database schema diagram.
- See the FireO documentation to learn how to construct queries using CDP database models.
- See the GCSFS documentation to learn how to retrieve files from the file store.
Contributing
If you wish to contribute to CDP please note that the best method to do so is to contribute to the upstream libraries that compose the CDP Instances themselves. These are detailed below.
- cdp-backend: Contains all the database models, data processing pipelines, and infrastructure-as-code for CDP deployments. Contributions here will be available to all CDP Instances. Entirely written in Python.
- cdp-frontend: Contains all of the components used by the web apps to be hosted on GitHub Pages. Contributions here will be available to all CDP Instances. Entirely written in TypeScript and React.
- cookiecutter-cdp-deployment: The repo used to generate new CDP Instance deployments. Like this repo!
- councildataproject.org: Our landing page! Contributions here should largely be text changes and admin updates.
Instance Admin Documentation
You can find documentation on how to customize, update, and maintain this CDP instance in the admin-docs directory.
License
CDP software is licensed under a MIT License.
Content produced by this instance is available under a Creative Commons Attribution 4.0 International License.
GitHub Events
Total
- Push event: 15
Last Year
- Push event: 15
Committers
Last synced: about 1 year ago
Top Committers
| Name | Commits | |
|---|---|---|
| dependabot[bot] | 4****] | 7 |
| Eva Maxfield Brown | e****n@g****m | 4 |
| CouncilDataProjectServiceAccount | c****t@g****m | 2 |
Issues and Pull Requests
Last synced: about 1 year ago
All Time
- Total issues: 1
- Total pull requests: 22
- Average time to close issues: N/A
- Average time to close pull requests: 9 days
- Total issue authors: 1
- Total pull request authors: 1
- Average comments per issue: 0.0
- Average comments per pull request: 0.59
- Merged pull requests: 7
- Bot issues: 0
- Bot pull requests: 22
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- evamaxfield (1)
Pull Request Authors
- dependabot[bot] (22)