QUT-Digital-Observatory / coordination-network-toolkit

A small command line tool and set of functions for studying coordination networks in Twitter and other social media data.
MIT License
71 stars 14 forks source link

unable to resolve urls from csv #42

Closed weiaiwayne closed 2 years ago

weiaiwayne commented 2 years ago

I have a column of URLs prepared according to the sample data (see the output from pandas) but could not resolve any URL there. I checked the saved coord_1.db, looks like the 'message_url' table is empty.

SamHames commented 2 years ago

Ohhh, that looks like an oversight in the design there - the preprocess_data function expects the space separated list of URLs that is needed for CSV format, not the more logical list of URLs like you'd expect. I'll push a new version with a fix.

SamHames commented 2 years ago

Have a try against version 1.5.1 - assuming I haven't broken anything that should fix the issue.

SamHames commented 2 years ago

Going to close this one now - feel free to reopen if you're running into the same issue still.