Skip to content

Commit

Permalink
shared class updates
Browse files Browse the repository at this point in the history
  • Loading branch information
csotomon committed May 8, 2021
1 parent 4c7a05b commit 59026f9
Show file tree
Hide file tree
Showing 4 changed files with 107 additions and 108 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ def main():
# Init CrowdTangle with api key
crowd_tangle = CrowdTangle("abc123def345")
ct_df = crowd_tangle.get_shares(urls=links_df, url_column='clean_url', date_column='date',clean_urls=True, platforms='facebook', sleep_time=30)
shared = Shared()
crowtangle_shares_df, shares_graph, q = shared.coord_shares(ct_df, clean_urls=True)
shared = Shared(ct_df)
crowtangle_shares_df, shares_graph, q = shared.coord_shares(clean_urls=True)

#Build Gephi File
for node in shares_graph.nodes(data=True):
Expand Down
Loading

0 comments on commit 59026f9

Please sign in to comment.