This file contains 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
library(ggplot2) | |
library(scales) | |
library(dplyr) | |
################## parameters ############## | |
all <- 10000000 # population | |
sick <- 200000 # number of sick people | |
sensitivity <- 0.95 # how many SICK people will be detected correctly | |
specificity <- 0.95 # how many HEALTHY people will be detected correctly |
This file contains 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
library(ggplot2) | |
library(dplyr) | |
library(scales) | |
library(zoo) | |
library(rvest) | |
library(jsonlite) | |
#seznam dnu v tudnu | |
weekdays <- c("Po","Ut","St","Ct","Pa","So","Ne") |
This file contains 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
- id: '1646558426XXX' | |
alias: 'Reed and Update Local Temp' | |
description: 'No description' | |
trigger: | |
- platform: time_pattern | |
minutes: /15 | |
condition: [] | |
action: | |
- service: number.set_value | |
target: |
This file contains 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 argparse | |
import requests | |
import logging as log | |
import pandas as pd | |
from datetime import datetime | |
import json | |
def call_exponea_api(method,path, payload, config): | |
url = f"{config['api_endpoint']}{path}" | |
log.debug(url) |
OlderNewer