langcog / wordbank

open repository of children's vocabulary data
http://wordbank.stanford.edu
GNU General Public License v2.0
64 stars 10 forks source link

cache vocabulary sizes #245

Closed mikabr closed 2 years ago

mikabr commented 2 years ago

for the datasets in wordbank2, vocabulary sizes need to be cached in the administrations table using the django command populate_vocabulary_size (see here) @HenryMehta

HenryMehta commented 2 years ago

@mikabr done

mcfrank commented 1 year ago

Thanks! This is great. We will probably have to rerun when we are completely done with the dataset import project, but we needed it to develop against in the shiny apps rewrite now.

Is there a way to integrate this migration into the deployment workflow for new datasets?

thanks

HenryMehta commented 1 year ago

@mcfrank The process is manual and the problem is I keep forgetting to run it (even though the instructions I've written tell me to run it!). I could include this within the previous command but it would still be a manual process until that point