Database Research
Frontend and Backend developement process and considerations for CPT Project
Types of Databases for Volunteer Work
-
Volunteer Match: VolunteerMatch is a platform that connects volunteers with organizations that need help. You can search for opportunities based on your location and interests.
-
Idealist: Idealist is a global platform that lists volunteer opportunities, internships, and jobs in the nonprofit sector. You can search for opportunities based on your skills and location.
-
All for Good: All for Good is a volunteer opportunity aggregator that pulls in opportunities from various sources. You can search for opportunities based on your location and interests.
-
Points of Light: Points of Light is an organization that focuses on volunteer service. Their website includes a database of volunteer opportunities that you can search based on your location.
-
HandsOn Network: HandsOn Network is a network of volunteer centers across the globe. They connect people with volunteer opportunities in their local communities.
-
Volunteering Solutions: This platform provides volunteer opportunities and internships abroad. If you’re interested in international volunteering, this could be a good option.
-
DoSomething.org: DoSomething.org focuses on getting young people involved in social change. They list various campaigns and volunteer opportunities that you can participate in.
These are all famous websites and organzations that have massive connections from not only around the United States, but also globally. However, to increase the success of users utilizing the databases, we must be able to limit the oppurtunities to a certain region or city (ie. a student in San Diego will have access to oppurtunities from all over the world but is only interested in the volunteer organizations in San Diego)
Creating Domains in Databases
- Geocoding: Geocoding converts addresses into geographic coordinates (longitude and latitude)
- Needs API or geocoding service to convert
- Google Maps Geocoding API - Google Maps provides a Geocoding API that allows developers to convert addresses into geographic coordinates and vice versa. It also offers additional features like reverse geocoding, which converts coordinates into human-readable addresses.
- Needs API or geocoding service to convert
-
OpenCage: OpenCage offers a geocoding API that supports forward and reverse geocoding. It provides global coverage and includes additional information such as timezone and currency.
-
Mapbox Geocoding API: Mapbox provides a geocoding API that can be used for converting locations into coordinates and vice versa. It’s part of the broader Mapbox platform for mapping and location-based services.
-
HERE Geocoding API: HERE Technologies offers a geocoding API that supports both forward and reverse geocoding. It provides detailed location information and is used for various mapping and location-based applications.
- Bing Maps API: Microsoft’s Bing Maps API includes a geocoding service that allows developers to perform geocoding and reverse geocoding tasks. It integrates with Bing Maps for mapping purposes.
All of these APIs cost a certain amount of money.
Interacting with Databases
Below is a Python interaction with the SQLite database.
# Importing sqlite3 which is a part of the Python standard library
import sqlite3
# Establish a connection
conn = sqlite3.connect('your_database.db')
# Create a cursor object. Allows interaction with database with SQL queries
cursor = conn.cursor()
# Execute a query. t's a simple SELECT query that retrieves all columns (*) from a table named 'your_table'. You would replace 'your_table' with the actual table name you want to query.
cursor.execute('SELECT * FROM your_table')
# Fetch results and stores them
results = cursor.fetchall()
# Close connection. Releases sources
conn.close()
Python interaction with SQLite databse.
import sqlite3
# Establish a connection
conn = sqlite3.connect('your_database.db')
# Create a cursor object. Allows interaction with the database using SQL queries
cursor = conn.cursor()
# Create a table if it doesn't exist. Replace 'your_table' and define the columns accordingly.
cursor.execute('''
CREATE TABLE IF NOT EXISTS your_table (
column1 INTEGER,
column2 TEXT,
column3 REAL
-- Add more columns as needed
)
''')
# Execute your SELECT query on the existing table
cursor.execute('SELECT * FROM your_table')
# Fetch results and store them
results = cursor.fetchall()
# Close the connection. Releases resources
conn.close()