Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Done with Challenge 7 #19

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
185,538 changes: 185,538 additions & 0 deletions 20141009.export.CSV

Large diffs are not rendered by default.

33 changes: 17 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,70 +1,71 @@
# Name

write-your-name
Logan Bates

# How many points have you earned?

0/100
100/100

(Make your own calculation and replace the number 0 with the points you think you've earned.)

# How many hours have you spent on this?

fill-in-your-answer
3ish

# What is the most difficult part about this week's challenge?

fill-in-your-answer
Adding the headers before the challenge was updated

# Show and tell (10 points)

## Link (2 points)

[title-of-the-article](http://link-to-an-article-using_data_to_solve_a_social_problem)
[Big Data Peeps at Your Medical Records to Find Drug Problems](http://www.npr.org/blogs/health/2014/07/21/332290342/big-data-peeps-at-your-medical-records-to-find-drug-problems)

## Explain why you found the project interesting. (8 points)

fill-in-your-answer
First of all, I found it interesting because it is endorsed by the government, which shows how countries are using big data methods to solve their domestic problems. It also shows how big data can be used to detect trends and to draw parallels about what they mean; in this case adverse side-affects of medical drug usage. I also like that this project aims to help millions of people. Everyone who has ever taken a medical drug can benefit from this project and it's set up in such a way that this approach can be expanded to other national issues involving medicine and even topics outside of medicine.

# GDELT (I) (5 points x 6 + 20 points x 3 = 90 points)

## Checkpoints

### 1 (5 points)

![image](image.png?raw=true)
![image](check1.png?raw=true)

### 2 What types of questions do you think this database could provide insight into? (5 points)

fill-in-your-answer
How do two global events with similar characteristics relate to eachother?
What types of events are distrubuted globally via the media? What types are neglected by the media?

### 3 (5 points)

![image](image.png?raw=true)
![image](check3.png?raw=true)

### 4 (5 points)

![image](image.png?raw=true)
![image](check4.png?raw=true)

### 5a (5 points)

![image](image.png?raw=true)
![image](check5a.png?raw=true)

### 5b Do you have any thoughts on why these events are missing geographic information? (5 points)

fill-in-your-answer
The two most missed events are 10 (Make statement, not specific below) and 42 (Make a visit). These events might not contain georgraphical information because they're listed as not specific. This could mean that the data is meant to be ambiguous, or information wasn't published with many details. If the marches affected the summit directly, there would many events reflecting the wishes of the people taking action. You cold use GDELT data to see the frequency of climate change events before the summit and directly after, where you expect to see the biggest impact.

## Challenges

### 1 (20 points)
{{one-paragraph-discussion-of-your-answer}}
You could use the data to show how news articles, tweets, and other forms of information pertaining to the march for change. If the marches are indeed working, then one would expect a high volume of global data pertaining to the marches.

### 2 (20 points)

![image](image.png?raw=true)
![image](challenge2.png?raw=true)

### 3 (20 points)

![image](image.png?raw=true)
![image](challenge3.png?raw=true)

{{one-paragraph-discussion-of-your-answer}}
The data was filtered by Actor1codes, specifically ENV (events pertaining to the environment). For the two days leading up to and the day of the conference. I took the Goldstein scale for the events and found that there was definitely an increase in press in the united states on the day of the conference. What my data failed to show was a strong global increase in ENV events. This may have been due to the fact that I did not include the day after the conference in my data, which may have helped create a better visualization of the impact.
Binary file added challenge2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added challenge3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added check1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added check3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added check4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added check5a.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
185,537 changes: 185,537 additions & 0 deletions headers.csv

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions merge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
var fs = require('fs');

mergedRead = fs.readFileSync('20140921.export.CSV') + fs.readFileSync('20140922.export.CSV') + fs.readFileSync('20140923.export.CSV');

fs.writeFile("merged.csv", mergedRead, function(err) {
if(err) {
console.log(err);
} else {
console.log("Success");
}
});