It is thought that …
It is believed that …
It has been reported that …
It is a widely held view that …
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* credit to Dhrumil Shah (@wandcrafting) and Robert Haisfield (@RobertHaisfield) | |
* for the original concept which was part of their RoamGames submission | |
* and can be found at: https://www.figma.com/file/5shwLdUCHxSaPNEO7pazbe/ | |
* | |
*/ | |
/* ======= OPTIONS ======== */ | |
/* note: if you change these, reload the page to see the effect */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Viktor's Roam gallery PoC v0.2 | |
* author: @ViktorTabori | |
* | |
* How to install it: | |
* - go to page [[roam/js]] | |
* - create a node with: {{[[roam/js]]}} | |
* - create a clode block under it, and change its type from clojure to javascript | |
* - allow the running of the javascript on the {{[[roam/js]]}} node | |
* - reload Roam |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
import datetime | |
def get_covid_data_jhu(dt_ini, dt_fim, us_columns = True, country = None): | |
date_range = pd.date_range(start = dt_ini, end = dt_fim).to_list() | |
string_range = [str(d.date().strftime("%m-%d-%Y")) for d in date_range] | |
full_data_list = [] | |
for dat in string_range: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
get_covid_data_jhu<- function(dt_ini, dt_fim, us_columns = TRUE, country = NULL ){ #data inicial para o download, data final para o download, indicação se trabalha com colunas dos EUA (TRUE por default) e lista de países (todos por default) | |
library(dplyr) | |
#cria um vetor de datas que vai ser iterado na formação do endereço de github que tem os dados | |
dates<- c(lubridate::ymd(dt_ini):lubridate::ymd(dt_fim)) | |
#O map_dfr vai montar dinamicamente um único dataframe com as para todas as datas do array | |
purrr::map_dfr(dates, function(a_date){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import dash | |
import os | |
import plotly.express as px | |
import pandas as pd | |
import dash_core_components as dcc | |
import dash_bootstrap_components as dbc | |
import dash_html_components as html | |
import json | |
from urllib.request import urlopen | |
from dash.dependencies import Input, Output |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import datetime | |
import random | |
import time | |
from multiprocessing import Lock | |
from notion.client import * | |
from notion.block import * | |
mutex = Lock() |