src.data
.transform
¶
-
src.data.
transform
( json_path , verbose = False ) [source] ¶ -
Converts a raw .json file containing Tweets’ data into a clean(er) dataset.
- Parameters
-
- json_path str
-
Path to json file containing the pertinent data.
- verbose int or bool, default=False
-
Controls the verbosity when pulling data.
- Returns
-
- df_merged DataFrame
-
Dataframe with the dataframes joined on user_id so every row has the tweet and the user information.