diff --git a/.gitignore b/.gitignore
index 88b7219..537d189 100644
--- a/.gitignore
+++ b/.gitignore
@@ -24,3 +24,5 @@ coverage
*.sln
*.sw?
.vercel
+
+.env
\ No newline at end of file
diff --git a/README.md b/README.md
index b1dee80..7fa80bd 100644
--- a/README.md
+++ b/README.md
@@ -27,3 +27,23 @@ In your terminal:
### Staging
Merge into the `dev` branch, allow 5 minutes for the auto-deploy, and visit pdap.dev.
+
+### For local development: Add environment secrets
+
+Either add a `.env` file to your local root directory or manually export these secrets. Reach out to contact@pdap.io or make noise in Discord if you'd like access.
+
+#### Sample `.env` file
+```
+# Local development
+#Airtable API key
+VITE_AIRTABLE_API_KEY=secret
+
+#PDAP data sources API key
+VITE_PDAP_API_KEY=secret
+```
+
+#### shell
+```
+export VITE_AIRTABLE_API_KEY=secret
+export VITE_PDAP_API_KEY=secret
+```
diff --git a/package-lock.json b/package-lock.json
index c13a823..74bcc73 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -16,7 +16,7 @@
"@vitejs/plugin-vue-jsx": "^3.0.2",
"autoprefixer": "^10.4.16",
"npm-run-all2": "^6.0.6",
- "pdap-design-system": "^2.1.8",
+ "pdap-design-system": "^2.7.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.3.5",
"vite": "^4.4.9",
@@ -2837,9 +2837,9 @@
"dev": true
},
"node_modules/pdap-design-system": {
- "version": "2.1.8",
- "resolved": "https://registry.npmjs.org/pdap-design-system/-/pdap-design-system-2.1.8.tgz",
- "integrity": "sha512-K3JGG95PR7Xc2LB3fdynUCuKS2UHqkHWGLi7qVaSqr8cECB29239WnIELJB8NzmtvZwMwaPBW9GhqsG0559cCw==",
+ "version": "2.7.0",
+ "resolved": "https://registry.npmjs.org/pdap-design-system/-/pdap-design-system-2.7.0.tgz",
+ "integrity": "sha512-Yq5oICH95Wtn1qgVRwNG/ifPamG4q6ILuTJDjA3UbqH+dKHyBOQMO37C7QXGSpUrAUxp/Th3yTLTXobPszLEsw==",
"dev": true,
"dependencies": {
"@vuelidate/core": "^2.0.3",
@@ -2850,9 +2850,6 @@
"vue": "^3.3.7",
"vue-router": "^4.2.5"
},
- "bin": {
- "pdap-design-system": "bin/pdap-design-system-cli.js"
- },
"engines": {
"node": ">=18.13.0",
"npm": ">=8.19.3"
diff --git a/package.json b/package.json
index 5b6cc54..14d3b19 100644
--- a/package.json
+++ b/package.json
@@ -20,10 +20,10 @@
"@vitejs/plugin-vue-jsx": "^3.0.2",
"autoprefixer": "^10.4.16",
"npm-run-all2": "^6.0.6",
- "pdap-design-system": "^2.1.8",
+ "pdap-design-system": "^2.7.0",
"postcss": "^8.4.32",
"tailwindcss": "^3.3.5",
"vite": "^4.4.9",
"vite-svg-loader": "^4.0.0"
}
-}
\ No newline at end of file
+}
diff --git a/src/App.vue b/src/App.vue
index 3689bc1..94419c4 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -78,4 +78,20 @@ provide('footerLinks', [
body {
overflow: auto;
}
+
+.pdap-grid-container{
+ padding: 32px;
+}
+
+.pdap-grid-container-columns-2{
+ grid-template-columns: repeat(auto-fit, minmax(336px, 1fr));
+}
+.loading-shimmer{
+ animation-duration: 800ms;
+}
+
+h3{
+ margin-top: 0px;
+}
+
diff --git a/src/main.js b/src/main.js
index 1880446..fa09bbb 100644
--- a/src/main.js
+++ b/src/main.js
@@ -1,5 +1,5 @@
import './main.css';
-import { FlexContainer, GridContainer, GridItem } from 'pdap-design-system';
+// import { FlexContainer, GridContainer, GridItem } from 'pdap-design-system';
import 'pdap-design-system/styles';
import { createApp } from 'vue';
@@ -15,8 +15,8 @@ app.use(router);
components does not properly register them
for passing to the
Email us at contact@pdap.io or
join the Discord to get in touch.
-
-
Every local police system has people studying it—that's how most of us found this project.
@@ -27,8 +29,8 @@
Our Executive Director is
Josh Chamberlain.
We are proud to receive generous support from
@@ -39,16 +41,16 @@
We are also grateful for the financial and advisory support of
Gabriel Weinberg.
We have done thousands of hours of user research with people
who use police data. If you have feedback to share, email
- contact@pdap.io.About
+ Contact
+ People
Funding
Frequently Asked Questions
+ What makes you experts?
+
Anything published by or about a criminal legal system agency: courts, jails, and law enforcement (police). You can read more about @@ -60,37 +62,31 @@ We are not creating a massive, interoperable database. This is a defense mechanism against aggregating data about criminalized people.
- -Everybody! Public records are for all of us. We are only interested in solutions which could survive the collapse of our organization. Our + work is open-source, and our planning is transparent.
+
Our activism is data collection and accessibility. We document systems, not "bad apples."
-
-
Yes. We're consolidating public information, in accordance with
established legal precedents.
-
-
No. Our only motivation is to provide better access to public records in an age of
disinformation. Our members have diverse perspectives and goals for police institutions, but
we are united by the common goal of transparency.
-
-
+
To find collaborators or ask questions, join us in Discord @@ -42,19 +42,21 @@ type="submit" class="pdap-button-primary h-[max-content]" value="Sign up" + style="margin:0px 4px 0px 4px;" />
Most data requests are for help answering questions about local police systems. They usually come to us @@ -67,22 +69,29 @@ operations@pdap.io.
- -We have merged {{ mergeCount }} pull requests across {{ repoCount }} repositories.
+ + Good first issues + +Some public records are already online, waiting to be classified and used to answer questions. You could find data sources to track, making it more accessible to everyone.
- -Many useful public records can't be easily found online. We work with local experts and request records from relevant agencies, making it easier to answer important questions.
- -Everything you see is open source, built by a small team of volunteers and staff. @@ -91,27 +100,31 @@ Good First Issues in GitHub.
- - -This work is multidisciplinary, and beginner-friendly. No matter what your level of experience, you can be a valuable contributor! The two most important skills are collaboration and persistence.
- +We locate, describe, and share sources of data about police agencies across the United States, which are @@ -32,8 +32,8 @@ response, we facilitate local research and organizing to keep the data in context. The goal is a relevant database, and impactful open-source tools.
- -Search our database @@ -52,34 +52,115 @@ if you have something to share.
- - -
+ Our database currently documents data sources from
+ {{ agenciesCount }} agencies in {{ countiesCount }} counties across all {{ statesCount }} states and the District of Columbia.
+
+ Our database currently documents data sources from
+ {{ agenciesCount }} agencies in {{ countiesCount }} counties across all {{ statesCount }} states.
+
Thank you for your interest in helping our mission!
-PDAP is a non-profit, so your donations may be tax deductible.
+
Police Data Accessibility Project Inc.
239 Fourth Avenue, Suite 1401 #3180
Pittsburgh, PA 15222
If your employer offers a donation match, submit your receipt to your employer and have them reach out to operations@pdap.io.
- -The ability of the criminal legal system to impact people's lives demands a higher degree of scrutiny regarding its fairness. @@ -40,6 +42,12 @@ This is the foundation of any research, advocacy, journalism, accountability, or reform.
++ Received ${{ amount }} from ${{ donorCount }} donors since January 9, 2023. +
+@@ -70,9 +78,11 @@ —Dr. Kyla Bourne, UC Berkeley
85% goes toward our program.
15% goes toward operations.
+Completed {{ requests }} data requests since January 9, 2023.
+ + Make a request + +We find data and share resources to help each other answer questions and strengthen our database over time.
- +Several researchers in Pittsburgh were asking:
What is the reality of traffic enforcement in Pittsburgh, given changed policies about enforcing minor traffic violations?
- -We requested data from the City of Pittsburgh and @@ -54,20 +65,20 @@ this article in Public Source, among other research.
- - +A journalist in Oakland, CA asked:
How does Oakland dispatch its police force to address community needs?
- -Calls for police service were published by the city, but only stayed online for 1–2 days. @@ -84,72 +95,83 @@ We made it open-source, so it can be reused by anyone for future zero-budget research projects.
- - -This facility has faced mounting scrutiny, and we have helped answer several questions: - +
How many people are in jail because they cannot afford bail? -
How often are people placed in solitary confinement after it was banned in 2022? -
Do people in the jail receive medical attention when they request it? -
2021 & 2022 surveys of the incarcerated population
-Has the city documented any health code violations at the Allegheny County Jail? -
Send an email to operations@pdap.io. Please @@ -12,6 +14,7 @@ these.
Our mission is to help people locate, understand, and share public records about every @@ -22,6 +25,7 @@ years. We put down roots in Pittsburgh as a non-profit and received grant funding in July of 2022. Our second funded year begins in July 2023.
+We are an equal opportunity employer, and make hiring decisions based on merit. Valuing @@ -51,21 +55,25 @@ seem like a good fit for your skills.
When you apply, please let us know if you're interested in a particular project.
+We will agree on a schedule of work and check-ins which fits your availability for the duration of each project.
+$25 per hour minimum, scaled based on experience and time commitment. Our annual budget for this work is $150,000–200,000.
+