Created
February 8, 2018 23:20
-
-
Save rozap/15569a1d61472599c36b8b98916439db to your computer and use it in GitHub Desktop.
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
-- call the replace function on the `response_type` column | |
-- which will replace the string 'Medic' with 'Medical' | |
replace(`response_type`, 'Medic', 'Medical') | |
-- call the to_number function on the `latitude` column | |
to_number(`latitude`) | |
-- call the to_boolean function on the incident column. Note we don't need the | |
-- `backticks` when the column name is alphanumeric+underscores. | |
to_boolean(incident_number) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment