diff --git a/data/jcp_inm.db b/data/jcp_inm.db index 4027b77..7480dff 100644 Binary files a/data/jcp_inm.db and b/data/jcp_inm.db differ diff --git a/doc/Jcp_Inm.odt b/doc/Jcp_Inm.odt index f73b468..d8b9474 100644 Binary files a/doc/Jcp_Inm.odt and b/doc/Jcp_Inm.odt differ diff --git a/doc/Jcp_Inm.pdf b/doc/Jcp_Inm.pdf index 5360582..ad395c4 100644 Binary files a/doc/Jcp_Inm.pdf and b/doc/Jcp_Inm.pdf differ diff --git a/src/scheme/jcp_inm.scm b/src/scheme/jcp_inm.scm index 4ddb3de..3e72bf7 100644 --- a/src/scheme/jcp_inm.scm +++ b/src/scheme/jcp_inm.scm @@ -37,7 +37,7 @@ (use-modules (grsp grsp0)) -; Vars +; Vars. Change the path(s) to your installation. (define mc 0) (define sqlp-path "/home/pablo/Programs/C++/sqlp/sqlp") (define database "/home/pablo/Datasets/Jcp_Inm/data/jcp_inm.db") @@ -83,7 +83,7 @@ res)) -; mult-adr - construct a block addres based on a choice. +; mult-adr - Construct a block addres based on a choice. ; ; Arguments ; - p_n: number. @@ -97,6 +97,9 @@ res)) +; asl-street-number - Establish the street block number to which a measurement +; belongs +; (define (ask-street-number) (let ((res 0) (mc 0)) @@ -145,7 +148,7 @@ res)) -; ask-street-abr presents a menu with the various street name abbreviations. +; ask-street-abr - Presents a menu with the various street name abbreviations. ; (define (ask-street-abr) (let ((res "") @@ -234,7 +237,7 @@ res)) -; write-prep-sql - overwrites the contents of prep.sql with the values +; write-prep-sql - Overwrites the contents of prep.sql with the values ; conmtained in the arguments. ; ; Arguments: @@ -294,7 +297,6 @@ 0)))) - ; run-prep-sql - Runs the existing prep.sql. ; (define (run-prep-sql) diff --git a/src/sql/prep.sql b/src/sql/prep.sql index bb85fe0..7c6178f 100644 --- a/src/sql/prep.sql +++ b/src/sql/prep.sql @@ -1,8 +1,8 @@ UPDATE trf_pers SET Status = 'enabled' WHERE Status IS NULL; UPDATE trf_pers SET Context = 'center' WHERE Context IS NULL; -UPDATE trf_pers SET Hr = 10 WHERE Hr IS NULL; -UPDATE trf_pers SET Dayn = 12 WHERE Dayn IS NULL; -UPDATE trf_pers SET Dayw = 'Tue' WHERE Dayw IS NULL; +UPDATE trf_pers SET Hr = 11 WHERE Hr IS NULL; +UPDATE trf_pers SET Dayn = 13 WHERE Dayn IS NULL; +UPDATE trf_pers SET Dayw = 'Wed' WHERE Dayw IS NULL; UPDATE trf_pers SET Monthn = 11 WHERE Monthn IS NULL; UPDATE trf_pers SET Year = 2019 WHERE Year IS NULL;