]>
code.communitydata.science - covid19.git/log
Benjamin Mako Hill [Sat, 4 Apr 2020 16:19:43 +0000 (11:19 -0500)]
made cronjobs executable
Kaylea Champion [Thu, 2 Apr 2020 21:18:05 +0000 (14:18 -0700)]
Merge pull request #17 from makoshark/master
changes to support historical view data
Kaylea Champion [Thu, 2 Apr 2020 21:16:57 +0000 (14:16 -0700)]
Merge pull request #16 from aaronshaw/master
renames files, adds an example analysis w small sample of revisions data
aaronshaw [Thu, 2 Apr 2020 18:38:32 +0000 (13:38 -0500)]
revisions to reflect updated example filename and clean comments in R code
Benjamin Mako Hill [Thu, 2 Apr 2020 18:28:34 +0000 (13:28 -0500)]
changes to allow historical view data collection
- fix bug where it would fail if the first essay had no view data
- add ability to override dates in the cron script
Benjamin Mako Hill [Thu, 2 Apr 2020 17:48:19 +0000 (12:48 -0500)]
updated to just write a single log file for each day
aaronshaw [Thu, 2 Apr 2020 15:59:44 +0000 (10:59 -0500)]
initial commit of revisions analysis example with output files
aaronshaw [Thu, 2 Apr 2020 12:49:08 +0000 (07:49 -0500)]
removing outdated file names
Aaron Shaw [Thu, 2 Apr 2020 00:15:21 +0000 (19:15 -0500)]
Merge pull request #15 from aaronshaw/master
renaming example analysis directories
aaronshaw [Thu, 2 Apr 2020 00:12:45 +0000 (19:12 -0500)]
renaming example analysis directories
groceryheist [Wed, 1 Apr 2020 23:36:56 +0000 (16:36 -0700)]
Merge pull request #12 from makoshark/master
substantial changes to wikipedia fetching code
Benjamin Mako Hill [Wed, 1 Apr 2020 23:23:50 +0000 (18:23 -0500)]
ignore __pycache__
Benjamin Mako Hill [Wed, 1 Apr 2020 23:22:36 +0000 (18:22 -0500)]
fix bug in previous commit
forgot to import digobs module in the scraper script
Benjamin Mako Hill [Wed, 1 Apr 2020 23:21:41 +0000 (18:21 -0500)]
cleaned up unnecessary files
Benjamin Mako Hill [Wed, 1 Apr 2020 23:13:02 +0000 (18:13 -0500)]
use the type= feature in argparse
- integrated the type= feature in argparse in all three scripts
- removed some redundant code from the third file
Benjamin Mako Hill [Wed, 1 Apr 2020 22:19:33 +0000 (17:19 -0500)]
Merge branch 'master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory
Benjamin Mako Hill [Wed, 1 Apr 2020 22:16:34 +0000 (17:16 -0500)]
changes in response to code review by nate
- moved some common functions into files
- other smaller changes
Aaron Shaw [Wed, 1 Apr 2020 21:58:02 +0000 (16:58 -0500)]
Merge pull request #14 from aaronshaw/aaronshaw-master
pointing at updated data url, adding explicit NA handling to factor, …
aaronshaw [Wed, 1 Apr 2020 21:52:22 +0000 (16:52 -0500)]
pointing at updated data url, adding explicit NA handling to factor, cutting unnecessary call to ggplot2, and updated corresponding output from new data file. May not work while kibo urls are getting resolved
Benjamin Mako Hill [Wed, 1 Apr 2020 21:42:16 +0000 (16:42 -0500)]
Merge branch 'master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory
Benjamin Mako Hill [Wed, 1 Apr 2020 21:39:53 +0000 (16:39 -0500)]
tweaks to revision export code
- flags were not being exported (e.g., minor, anon)
- broke with hidden/deleted user names
Benjamin Mako Hill [Wed, 1 Apr 2020 20:49:28 +0000 (15:49 -0500)]
fix bug in rev scraper script
Bug was a break, added for debugging, that caused the script to only
work for the first article.
Benjamin Mako Hill [Wed, 1 Apr 2020 20:49:02 +0000 (15:49 -0500)]
change copy to move in cron scripts
Benjamin Mako Hill [Wed, 1 Apr 2020 20:18:50 +0000 (15:18 -0500)]
Merge branch 'master' of github.com:makoshark/COVID-19_Digital_Observatory
Benjamin Mako Hill [Wed, 1 Apr 2020 20:15:11 +0000 (15:15 -0500)]
add two small shellscripts for automation
- Added two bash scripts usable as cronjobs to automate the production
of revisions and view data.
These commands automate the process of running code and copying material
Benjamin Mako Hill [Wed, 1 Apr 2020 20:14:05 +0000 (15:14 -0500)]
address confusion with date
The timestamps in files should be the day that the exports are done. For
the view data, the query date needs to be the day before but this
shouldn't be the timestamp we use in files, etc.
Benjamin Mako Hill [Wed, 1 Apr 2020 15:47:33 +0000 (10:47 -0500)]
fix bugs with the date stamps
Aaron Shaw [Wed, 1 Apr 2020 15:41:02 +0000 (10:41 -0500)]
Merge pull request #11 from jdfoote/master
Adding a tidyverse example (with very verbose comments)
Benjamin Mako Hill [Wed, 1 Apr 2020 15:18:05 +0000 (08:18 -0700)]
fixed typo in debug message
Benjamin Mako Hill [Wed, 1 Apr 2020 14:53:40 +0000 (07:53 -0700)]
Merge branch 'master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory
Benjamin Mako Hill [Wed, 1 Apr 2020 14:52:15 +0000 (07:52 -0700)]
added gitignore for wikipedia/data directory
Benjamin Mako Hill [Wed, 1 Apr 2020 14:51:20 +0000 (07:51 -0700)]
renamed the wikipedia_views module to wikipedia
Benjamin Mako Hill [Wed, 1 Apr 2020 14:42:38 +0000 (07:42 -0700)]
added initial version of revision-scraper
Borrows much of the structure from the (patched) version of the
dailyview scraper.
Benjamin Mako Hill [Wed, 1 Apr 2020 14:42:24 +0000 (07:42 -0700)]
fixed typo in description of view scraper
Benjamin Mako Hill [Wed, 1 Apr 2020 14:29:01 +0000 (07:29 -0700)]
renamed daily views to make it clear that it's just enwiki
Benjamin Mako Hill [Wed, 1 Apr 2020 14:15:12 +0000 (07:15 -0700)]
changes to a bunch of the wikipedia view code
- Renamed the articles.txt to something more specific
Changes to both scripts:
- Updated filenames to match the new standard
- Reworked the logging code so that it can write to stderr by
default. Because we can only call logging.basicConfig() once, this
eneded up being a bigger changes.
- Caused scripts to output git commits and export to track which code
produced which dataset.
- Caused programs to take files instead of directories as
output (allows us to run programs more than once a day).
Changes to the wikipedia_views/scripts/fetch_daily_views.py:
- Change output that it outputs a sequence of JSON dictionaries (one
per line) as per the standard we agreed to and which is what
Twitter, Github, and other dumps do. Previous behavior was to create
output a single JSON list object.
- A number of other small changes and tweaks throughout.
Jeremy Foote [Wed, 1 Apr 2020 02:42:31 +0000 (22:42 -0400)]
Adding a tidyverse example (with very verbose comments)
Nathan TeBlunthuis [Tue, 31 Mar 2020 23:56:59 +0000 (16:56 -0700)]
add examples using the translations data
Nathan TeBlunthuis [Tue, 31 Mar 2020 23:22:30 +0000 (16:22 -0700)]
add documentation for the output files
Nathan TeBlunthuis [Tue, 31 Mar 2020 23:16:36 +0000 (16:16 -0700)]
create 'latest.csv' to link to the most recent output.
Nathan TeBlunthuis [Tue, 31 Mar 2020 23:01:43 +0000 (16:01 -0700)]
Merge branch 'master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory
Nathan TeBlunthuis [Tue, 31 Mar 2020 23:01:38 +0000 (16:01 -0700)]
update output
Nathan TeBlunthuis [Tue, 31 Mar 2020 22:30:08 +0000 (15:30 -0700)]
use 'item' instead of 'entity'
Nathan TeBlunthuis [Tue, 31 Mar 2020 22:27:39 +0000 (15:27 -0700)]
rename compile script
Nathan TeBlunthuis [Tue, 31 Mar 2020 22:27:21 +0000 (15:27 -0700)]
update compile script
Nathan TeBlunthuis [Tue, 31 Mar 2020 22:25:51 +0000 (15:25 -0700)]
Improve README.md for keywords
Nathan TeBlunthuis [Tue, 31 Mar 2020 22:15:01 +0000 (15:15 -0700)]
rename 'transliterations' to 'keywords'
Aaron Shaw [Tue, 31 Mar 2020 22:09:58 +0000 (17:09 -0500)]
Update README.md
linking to project pages more fully
Kaylea Champion [Tue, 31 Mar 2020 19:23:36 +0000 (12:23 -0700)]
Merge pull request #10 from makoshark/master
stop writing writing header to one-column list
Benjamin Mako Hill [Tue, 31 Mar 2020 15:35:23 +0000 (08:35 -0700)]
stop writing writing header to one-column list
This feels like it's asking for trouble. Description of the contents
of the list is in the filename.
Nathan TeBlunthuis [Mon, 30 Mar 2020 04:49:57 +0000 (21:49 -0700)]
reorganize file structure
- move 'input' files to resources
- outputs not meant for downstream go in output/intermediate
- csv outputs for downstream go in output/csv
Kaylea Champion [Sun, 29 Mar 2020 18:42:01 +0000 (13:42 -0500)]
migrating to new directory structure
Kaylea Champion [Sun, 29 Mar 2020 18:39:32 +0000 (11:39 -0700)]
Merge pull request #7 from kayleachampion/master
cleanup with merge
Kaylea Champion [Sun, 29 Mar 2020 07:19:54 +0000 (00:19 -0700)]
all march data
Kaylea Champion [Sun, 29 Mar 2020 06:50:04 +0000 (23:50 -0700)]
adding a logs dir without adding my log files, assuming those don't
belong in repo
Kaylea Champion [Sun, 29 Mar 2020 06:47:55 +0000 (23:47 -0700)]
new version of this from scrape. no double quotes around articles any
more
Kaylea Champion [Sun, 29 Mar 2020 06:46:48 +0000 (23:46 -0700)]
adds a scraper to update the articles file
Kaylea Champion [Sun, 29 Mar 2020 01:46:35 +0000 (18:46 -0700)]
adds in new logging capability
Aaron Shaw [Sun, 29 Mar 2020 01:42:40 +0000 (20:42 -0500)]
Merge pull request #9 from aaronshaw/master
minimal analysis example with pageview data
aaronshaw [Sun, 29 Mar 2020 01:33:23 +0000 (20:33 -0500)]
minimal analysis example with pageview data
Aaron Shaw [Sat, 28 Mar 2020 22:38:20 +0000 (17:38 -0500)]
Merge pull request #8 from aaronshaw/master
Update to load data from github url and include 3/28 data in output
aaronshaw [Sat, 28 Mar 2020 22:31:36 +0000 (17:31 -0500)]
regenerated following update to R src that creates this file
aaronshaw [Sat, 28 Mar 2020 22:30:37 +0000 (17:30 -0500)]
Loading data directly from github URL. Commenting out commands that assume cloned repository.
Kaylea Champion [Sat, 28 Mar 2020 21:46:00 +0000 (14:46 -0700)]
Merge branch 'master' of https://github.com/CommunityDataScienceCollective/COVID-19_Digital_Observatory
Kaylea Champion [Sat, 28 Mar 2020 21:17:21 +0000 (14:17 -0700)]
Merge pull request #5 from kayleachampion/master
view data
Kaylea Champion [Sat, 28 Mar 2020 21:15:53 +0000 (14:15 -0700)]
Merge pull request #1 from CommunityDataScienceCollective/kaylea/master
Some suggested changes.
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:13:46 +0000 (14:13 -0700)]
Merge branch 'kaylea/master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory into kaylea/master
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:12:36 +0000 (14:12 -0700)]
Merge branch 'kaylea/master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory into kaylea/master
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:12:36 +0000 (14:12 -0700)]
Merge branch 'kaylea/master' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory into kaylea/master
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:09:28 +0000 (14:09 -0700)]
Read the whole input file before making api calls
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:09:28 +0000 (14:09 -0700)]
Read the whole input file before making api calls
groceryheist [Sat, 28 Mar 2020 21:07:04 +0000 (14:07 -0700)]
Merge pull request #4 from CommunityDataScienceCollective/translations
Transliterations: Use data from google trends and wikidata to find transliterations.
Nathan TeBlunthuis [Sat, 28 Mar 2020 21:03:16 +0000 (14:03 -0700)]
Update transliteration results for 2020-03-28
- renamed results from yesterday into time stamped file
Nathan TeBlunthuis [Sat, 28 Mar 2020 20:55:52 +0000 (13:55 -0700)]
Read entire input files before making api calls.
This is nicer style to not hold onto resources for as long.
It will use a bit more memory.
Nathan TeBlunthuis [Sat, 28 Mar 2020 20:49:19 +0000 (13:49 -0700)]
Keep better track of time.
- Add timestamp ot transliterations output file.
- Append wikidata search terms instead of overwriting
Kaylea Champion [Sat, 28 Mar 2020 19:21:37 +0000 (12:21 -0700)]
Merge branch 'master' of https://github.com/CommunityDataScienceCollective/COVID-19_Digital_Observatory
updates my branch with all the master changes so far
Kaylea Champion [Sat, 28 Mar 2020 19:18:01 +0000 (12:18 -0700)]
trialing new approach
Kaylea Champion [Sat, 28 Mar 2020 19:17:45 +0000 (12:17 -0700)]
trialing new approach
Nathan TeBlunthuis [Sat, 28 Mar 2020 17:01:43 +0000 (10:01 -0700)]
typo fix
Nathan TeBlunthuis [Sat, 28 Mar 2020 16:58:43 +0000 (09:58 -0700)]
Merge branch 'translations' of github.com:CommunityDataScienceCollective/COVID-19_Digital_Observatory into translations
Aaron Shaw [Sat, 28 Mar 2020 15:28:41 +0000 (10:28 -0500)]
Merge pull request #6 from aaronshaw/translations
minimal example in R
aaronshaw [Sat, 28 Mar 2020 15:18:33 +0000 (10:18 -0500)]
a minimal example in R that outputs a table of top 5 related search terms per day per query
Nathan TeBlunthuis [Sat, 28 Mar 2020 03:27:02 +0000 (20:27 -0700)]
A few suggestions for the python script:
- using format strings (f-strings) is a nice way in python to build
strings using variables.
- you can read and process a file in one pass if you iterate over the
open file itself instead of reading it into a variable and then
looping
- i had to change your strip code when i stopped using csv reader
- my python linter and auto-formater hate non-indendent comments
- i added a few lines to print cases where we don't get Ok responses.
Nathan TeBlunthuis [Sat, 28 Mar 2020 03:13:11 +0000 (20:13 -0700)]
Reorganize wikipedia views subproject into subpackage.
Nathan TeBlunthuis [Sat, 28 Mar 2020 03:05:07 +0000 (20:05 -0700)]
add mwapi to requirements
Kaylea Champion [Sat, 28 Mar 2020 01:24:19 +0000 (18:24 -0700)]
all data
Kaylea Champion [Sat, 28 Mar 2020 01:19:22 +0000 (18:19 -0700)]
cleaning out commented code
Kaylea Champion [Sat, 28 Mar 2020 01:17:39 +0000 (18:17 -0700)]
reorganizes comments
Kaylea Champion [Sat, 28 Mar 2020 01:10:13 +0000 (18:10 -0700)]
initial files
Kaylea Champion [Sat, 28 Mar 2020 01:08:43 +0000 (18:08 -0700)]
makes TSV
makes JSON
Kaylea Champion [Sat, 28 Mar 2020 00:24:18 +0000 (17:24 -0700)]
many bug fixes
Nathan TeBlunthuis [Fri, 27 Mar 2020 23:53:03 +0000 (16:53 -0700)]
add output files from tranliteration search using google trends
Nathan TeBlunthuis [Fri, 27 Mar 2020 23:52:19 +0000 (16:52 -0700)]
expand wikidata search to get keywords from google trends
Kaylea Champion [Fri, 27 Mar 2020 23:00:36 +0000 (16:00 -0700)]
for testing
Benjamin Mako Hill [Fri, 27 Mar 2020 21:47:15 +0000 (14:47 -0700)]
Merge pull request #3 from kayleachampion/master
adding in an article list
Kaylea Champion [Fri, 27 Mar 2020 21:41:38 +0000 (14:41 -0700)]
new file -- list of article names
Nathan TeBlunthuis [Fri, 27 Mar 2020 17:55:24 +0000 (10:55 -0700)]
start keeping track of installation requirements
Nathan TeBlunthuis [Thu, 26 Mar 2020 18:14:55 +0000 (11:14 -0700)]
update output using limited base terms list
Nathan TeBlunthuis [Thu, 26 Mar 2020 18:13:23 +0000 (11:13 -0700)]
shell script to run the whoe process
Nathan TeBlunthuis [Thu, 26 Mar 2020 17:24:31 +0000 (10:24 -0700)]
narrow base terms
Community Data Science Collective || Want to submit a patch?