forked from Pold87/academic-keyword-occurrence
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
39 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# Academic word frequency extractor | ||
|
||
This script extracts the word frequency in papers of a search term. It writes the number of papers containing this | ||
word at a certain year to a CSV file: | ||
|
||
| year | results | | ||
|------+---------| | ||
| 2011 | 6320 | | ||
| 2012 | 7250 | | ||
| 2013 | 8170 | | ||
| 2014 | 8260 | | ||
| 2015 | 8150 | | ||
|
||
|
||
The script excludes patents and citations | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from bs4 import BeautifulSoup | ||
import urllib | ||
r = urllib.urlopen('https://scholar.google.nl/scholar?hl=en&as_sdt=1,5&q=self-disclosure').read() | ||
soup = BeautifulSoup(r) | ||
print type(soup) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
year,results | ||
2014,8260 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
| year | results | | ||
|------+---------| | ||
| 2011 | 6320 | | ||
| 2012 | 7250 | | ||
| 2013 | 8170 | | ||
| 2014 | 8260 | | ||
| 2015 | 8150 | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
year,results | ||
2011,6320 | ||
2012,7250 | ||
2013,8170 | ||
2014,8260 | ||
2015,8150 |