<jupyter_start><jupyter_text>Get Data From Flipside API<jupyter_code>api = "https://api.flipsidecrypto.com/api/v2/queries/00880fc5-94d5-46ce-8e23-734a79ae1237/data/latest"<jupyter_output><empty_output><jupyter_text>Create Dataframe<jupyter_code>df = pd.read_json(api)<jupyter_output><empty_output><jupyter_text>Preview data<jupyter_code>df.head()<jupyter_output><empty_output><jupyter_text>Create plot Verify data we have today's data<jupyter_code>df["DATE"].max()
df.plot.line(
x="DATE", y="N_TRANSACTION", title="Matic – Daily Transactions (Last 30 Days)"
)<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.14431239388794567, 'fraction_numerical': 0.044142614601018676, 'mean_word_length': 11.291666666666666, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '568015', 'license': 'CC0-1.0', 'n_tokens_mistral': 256, 'n_tokens_neox': 240, 'n_words': 27, 'path': 'notebook.ipynb', 'repo_name': 'juls858/jupyter-flipside-poc', 'size': '589'}