polyflow
is a semantic data mediator. The main goal of polyflow
is to create more accessible data models to users that need to use queries as part of their routine but aren't technology experts, such as researchers, PMs and marketing analysts. Consider the following:
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
docker exec -it bigdawg-postgres-catalog bash | |
psql | |
\c bigdawg_schemas | |
CREATE TABLE port (id integer, direction integer); |
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
# Write your query or mutation here | |
{ | |
suggestions( | |
modality:SaudePme | |
city:"sao-paulo-sp" | |
accreditedIds:[11399] | |
accommodation:"Enf" | |
numberOfPeople:[{ | |
range:"0-18" | |
value:3 |
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
#!/bin/bash | |
su postgres <<'EOF' | |
psql -c "create database kepler_test owner pguser" | |
psql -d kepler_test < /bdsetup/kepler.dump | |
EOF |
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
const Prov = require('./Prov') | |
const Provone = require('./Provone') | |
const provoneProgram = { | |
name: 'script_run', | |
columns: [ | |
{ | |
alias: 'program_id', | |
projection: 'script_run_id' | |
}, |
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
<a href="#" id="LinkedIn" class="social-networks-cta"><i class="fab fa-linkedin"></i></a> | |
$('.social-networks-cta').on('click', function(e) { | |
ga('send', 'event', 'socialNetworks', 'visit', e.target.id, 0) | |
}) |
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
<a href="#" id="LinkedIn" class="social-networks-cta"><i class="fab fa-linkedin"></i></a> | |
$('.social-networks-cta').on('click', function(e) { | |
ga('send', 'event', 'socialNetworks', 'visit', e.target.id, 0) | |
}) |
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
package proxy | |
import ( | |
"io/ioutil" | |
"net/http" | |
"net/http/httptest" | |
"testing" | |
. "github.com/smartystreets/goconvey/convey" | |
) |
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
package proxy | |
import ( | |
"bytes" | |
"io" | |
"io/ioutil" | |
"net/http" | |
"regexp" | |
"strconv" | |
) |