Join William Lyon for an in-depth discussion in this video Combine queries for final calculation, part of Database Clinic: Neo4J.
- [Instructor] Previously we calculated…total state population by year.…We filled in some missing data that allowed us…to compute our educational attainment cohort percentages.…Now we're ready to multiply these cohort percentages…by the total population numbers for each year…to compute our forecast.…Let's combine these components…that we previously computed individually…into a single query to complete the problem.…First, let's calculate our cohort percentages.…
And remember, to do this we matched…on our EducationObservation nodes,…summing the population property across all of these.…This is going to be the denominator…for our percentage calculation.…We then need to MATCH again…on our EducationObservation nodes, grouping by education.…Remember, we'll need to cast our numerator here to a float…so that we perform floating point division…instead of integer division.…
This is the query that we ran previously…to compute our cohort percentages.…I'm going to press Escape here…to switch into full-screen mode.…And the next piece of this is…
- Strengths and weaknesses of Neo4j
- Data modeling
- Creating a database
- Joining data sets
- Modeling data for joining data sets
- Searching a database
- CRUD operations
- Performing calculations
Skill Level Intermediate
1. Neo4j in Five Minutes
A brief overview of Neo4j3m 23s
2. Create a Database
3. Join Two Datasets
4. Search a Database
5. Create, Read, Update, and Delete Operations
6. Averages and Calculations
Next steps1m 44s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.