Skip to content

profrichto/handson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MAS 500: Hands-on Foundation

HW1

This is an example that demonstrates use of the mediacloud API. This specific example compares the number of stories that mentioned 'Trump' in September 2016 with the number that mentioned 'Clinton' in the same period.

Installation:

A version of Python 2.7 or greater must be installed.

Use:

python election_count.py

The default value of variable 'key' must be replaced with the actual key value of the mediacloud user.

HW2

The previous code is streamlined by adding logging in the main code and a unit test to check proper operation.

Use:

The key variable in the test.py script must be edited to a valid value to ensure proper testing.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published