Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wabscale/hist-ua-175-final
https://github.com/wabscale/hist-ua-175-final
data-visualization graphql immigration immigration-visualizer
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/wabscale/hist-ua-175-final
- Owner: wabscale
- Created: 2021-07-08T03:49:42.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-08-14T00:36:59.000Z (over 3 years ago)
- Last Synced: 2024-12-01T20:10:09.828Z (about 2 months ago)
- Topics: data-visualization, graphql, immigration, immigration-visualizer
- Language: Jupyter Notebook
- Homepage: https://hist-175.johncunniff.dev/
- Size: 36.9 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Hist 175 Final Project
```graphql
{
port_of_entry(func: eq(port_of_entry, "New York, NY")) {
port_of_entry
people: ~poe {
name
naid
country: c {
country
}
year_of_entry: yoe {
year_of_entry
}
}
}
}
```![alt img/img4.png](img/img4.png)
---
```graphql
{
var(func: eq(country, "Italy")) {
country
italians as ~c {
name
}
}
var(func: eq(year_of_entry, 1963)) {
year_of_entry
y1963p as ~yoe {
name
}
}
port_of_entry(func: eq(port_of_entry, "New York, NY")) {
port_of_entry
people: ~poe(first: 30) @filter(uid(italians) AND uid(y1963p)) {
name
naid
country: c {
country
}
year_of_entry: yoe {
year_of_entry
}
}
}
}
```![alt img/img3.png](img/img3.png)
---
```graphql
{
root(func: type(Root)) {
countries(first: 10) {
countrypeople(first: 30) {
name
naidage : ~people {
age
}age_of_entry : ~people {
age_of_entry
}age_of_naturalization : ~people {
age_of_naturalization
}port_of_entry : ~people {
port_of_entry
}
}
}
}
}
```![alt img/img2.png](img/img2.png)
---
```graphql
{
root(func: type(Root)) {
countries(first: 10) {
countrypeople(first: 30) {
name
naid
}
}ports_of_entry(first: 10) {
port_of_entrypeople(first: 30) {
name
naid
}
}
}
}
```![alt img/img1.png](img/img1.png)