Exploratory Analysis on MyLA311 Service Request Data 2020
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- jupyter-notebook
調査の方向性
リンクされている Google Colab ノートブックと MyLA311 Service Request Data 2020 データセットから始めてください。関連する所得、人口、または地区のデータを含め、明確に定義した落書き分析の範囲を選択する前に、既存のクリーニングと EDA を確認してください。選択した関係が分析・文書化され、明確な知見によって裏付けられれば完了です。
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- 言語のデータがありません
- スター
- 18
- フォーク
- 3
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
hackforla/access-the-data のほかの issue
-
feature: recruitment milestone: missing PBV: Product Management role: project management size: 0.25pt
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
hackforla/access-the-data#304 · コメント 6 件 ·
-
Notes from Reach Bonnie Form review再び着手できるかも @ExperimentsInHonesty が 1014 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンPBV: Product Management
hackforla/access-the-data#302 · コメント 3 件 · 担当者 1 名 ·
-
Offboard aj price再び着手できるかも @mxajPrice が 1042 日前に担当しましたが、オープン中のプルリクエストはありません。 オープンfeature: administrative PBV: Product Management role: project management size: 1 pt
hackforla/access-the-data#301 · コメント 2 件 · 担当者 1 名 ·
-
feature: user research PBV: V1: Data Catalog role: research size: 1 pt
難易度 5/5 1週間以上 初心者へのやさしさ 20/100
hackforla/access-the-data#292 · コメント 3 件 ·
-
feature: administrative PBV: Product Management role: project management size: on-going
難易度 2/5 1〜3時間 初心者へのやさしさ 45/100
hackforla/access-the-data#287 · コメント 4 件 ·
hackforla/access-the-data の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Open-Systems-Pharmacology/OSPSuite.Core#3049 ·
メンテナーはふだん 1 日以内に返信
-
onenote
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
obsidianmd/obsidian-importer#689 ·
-
uberon-classhierarchy
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
obophenotype/uberon#3808 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
Add Domainオープン
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
disposable/disposable#318 ·
-
Restoring an exhausted flatmap checkpoint can replay consumed records対応中かも @salma2vec が今日担当しました。 オープンtype:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信