Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ansarimofid/udacity-log-analysis
Udacity FSND Project #3
https://github.com/ansarimofid/udacity-log-analysis
Last synced: 19 days ago
JSON representation
Udacity FSND Project #3
- Host: GitHub
- URL: https://github.com/ansarimofid/udacity-log-analysis
- Owner: ansarimofid
- Created: 2017-08-04T07:15:58.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T07:41:32.000Z (over 7 years ago)
- Last Synced: 2024-10-28T15:15:56.882Z (2 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Log Analysis
## Description
This Project consists code for running log analysis for Udacity Project.It analyses large data from the tables. It gives output according to given question through proper formulation of query. All the computation is done by Database through single query using join.
newdata.sql consists all the required data to be analysed.
The database consist of three table
* authors
* articles
* log##Running
#### Step 1
* make sure you have ```newsdata.sql``` in the same folder
#### Step 2
* Add data to database, you must create news database name 'news' before executing commandRun
```Shell
psql -d news -f newsdata.sql
```
#### Step 3
Run the script
```Shell
python main.py
```You will get result on your terminal