Exploratory Analysis on MyLA311 Service Request Data 2020
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- jupyter-notebook
- Área
- data, data-visualization
Línea de trabajo
Comienza con los notebooks de Google Colab enlazados y el conjunto de datos MyLA311 Service Request Data 2020. Revisa la limpieza de datos y la EDA existentes antes de elegir un alcance definido para el análisis de grafitis, incluidos datos relacionados de ingresos, población o distritos. Se considerará terminado cuando las relaciones seleccionadas se hayan analizado y documentado, y estén respaldadas por hallazgos claros.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Overview
Analyze MyLA311 Service Request Data 2020, a public dataset available for preview and download (1,491,773 records, 34 feature columns), to understand what kind of stories (insight) we could tell based on it
Action Items
- Dataset preprocessing, overview check NA, duplicated records, and looking for any potential issues with the dataset
- EDA on interesting features
** possible next step analysis: focus on graffiti (NEW) **
put the data into context & dig in to understand graffiti from "in-depth" (data literacy) data analysis:
(need to find other datasets)
- relation with income level (wealth, safety, crime)
- relation with population (maybe only useful to compare similar areas (define "area") )
- aggregate by council districts
- possibly tag some areas (university, tourism, downtown, residency, commercial) -> could be difficult to find the dictionary
Analysis & Findings
- 104 NC, 203 NC names, more than the actual 99 NC's
- Find that
ServiceDateandClosedDatehave NA values - Find one request that has a typo of
ServiceDateandClosedDate(year=3020)
------- (Analysis below is based on requests (94.96%) with valid CreatedDate, UpdatedDate, ServiceDate and ClosedDate )-------
- Compare distribution of
CreatedDate,UpdatedDate,ServiceDateandClosedDateby hours- 1,278,193 (90.23%) requests have
ServiceDateduring 00:00 to 00:59
- 1,278,193 (90.23%) requests have
- Compute new columns: duration between
CreatedDateand each ofUpdatedDate,ServiceDateandClosedDate - Find that there are requests with process hours <0
- Compare
- ratios of requests with
ServiceDataon the same day asCreatedDayin total requests of a type - ratios of requests of a type in total requests
- ratios of requests with
- Analysis on Graffiti Removal, the request type that has the most
ServiceDatelater thanCreatedDate- by processing hours
- by processing days
- Count of
RequestType,RequestSourceandStatus
Stories
-
Make Suggestions to the database (based on merely analyzing if the values of certain features make sense):
- NC names need more consistency: e.g ''GRANADA HILLS NORTH NC" & "Granada Hills North" ; "SYLMAR NC" & "Sylmar"
- Convert timestamp to 24-hour time to facilitate data analysis
- New mechanism for ServiceDate & ClosedDate (possibly, some systems record the ServiceDate to 00:00 on the date of service by default, creating problems when considering processing days or hours if w/o explanations)
RequestSource: Driver Self Report, VoicemailRequestType: Graffiti Removal, Multiple Streetlight Issue, Single Streetlight IssueStatus: allPolicePrecinct: CENTRAL, NEWTONAssignTo:Owner: BSL, OCB
-
Graffiti Removal Processing Days:
- Understand how to look at boxplot and find outliers by IQR
- Aggregate hours to days to have more insights
- 91.40% Graffiti Removal requests are processed within 2 days after the day request created
- 67.68% Graffiti Removal requests are processed on the same day
- 3.2% Graffiti Removal requests are processed after a week
- 0.79% Graffiti Removal requests are processed after a month
- 0.09% Graffiti Removal requests are processed after a year
------------------------------------UPDATE------------------------------------
Data cleaning
each record has 4 timestamp columns: CreatedDate, UpdatedDate, ServiceDate, ClosedDate
valid data: all the timestamp columns are in 2020 and ServiceDate>CreatedDate and ClosedDate>CreatedDateNA data: records with NA (missing value)NC: some NC's are not in the LA NC's area but still in the data and 1 NC is misclassified: remove NC's not in the LA NC's area and correct the misclassified one
Analytical concepts:
- how outliers affect data and the difficulty of dealing with it; average, median
- how to define, find and remove outliers
- by comparing simple bar plots, we could derive many insights
- differences between a bar plot and histogram
- how to deal with missing values and invalid data: don't make assumpting of missing data before knowing why they are missing. missing values in categorical features could be treated as another level, which can be used to derive insights
- understanding meaning of a column before analysis
Google Colab Notebook
- Lenguaje dominante
- Sin datos de lenguaje
- Estrellas
- 18
- Forks
- 3
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de hackforla/access-the-data
-
feature: recruitment milestone: missing PBV: Product Management role: project management size: 0.25pt
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
hackforla/access-the-data#304 · 6 comentarios ·
-
Notes from Reach Bonnie Form reviewQuizá libre de nuevo @ExperimentsInHonesty la tomó hace 1015 días y no hay ningún pull request abierto. AbiertoPBV: Product Management
hackforla/access-the-data#302 · 3 comentarios · 1 asignado ·
-
Offboard aj priceQuizá libre de nuevo @mxajPrice la tomó hace 1043 días y no hay ningún pull request abierto. Abiertofeature: administrative PBV: Product Management role: project management size: 1 pt
hackforla/access-the-data#301 · 2 comentarios · 1 asignado ·
-
feature: user research PBV: V1: Data Catalog role: research size: 1 pt
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
hackforla/access-the-data#292 · 3 comentarios ·
-
Weekly Project Management DutiesAbiertofeature: administrative PBV: Product Management role: project management size: on-going
Dificultad 2/5 1-3 horas Aptitud para principiantes 45/100
hackforla/access-the-data#287 · 4 comentarios ·
Todos los issues de hackforla/access-the-data
Issues similares
-
Add: &TV LogoAbiertocheck:passed logos:add
Dificultad 1/5 Menos de una hora Aptitud para principiantes 74/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
duneanalytics/spellbook#10100 ·
Los mantenedores suelen responder en 1 día
-
approved correction metadata
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
acl-org/acl-anthology#10663 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 3 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
freelawproject/juriscraper#2367 · 2 comentarios ·
Los mantenedores suelen responder en 1 día