FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit c9db61d9 authored by Dr T. Mona's avatar Dr T. Mona
Browse files

feat: picking up the extra SurveySite column

parent d71f454b
No related branches found
No related tags found
No related merge requests found
...@@ -107,6 +107,7 @@ def nested_to_flattened(df): ...@@ -107,6 +107,7 @@ def nested_to_flattened(df):
"CollectionDate", "CollectionDate",
"UpdateDate", "UpdateDate",
"GrowthStage", "GrowthStage",
"SurveySite",
"listDisease"] "listDisease"]
for i in RAW_COLUMNS: for i in RAW_COLUMNS:
df[i] = "" df[i] = ""
...@@ -215,6 +216,7 @@ def get_WRT_form_as_csv(form_credentials: dict, jobPath: str, config: dict, stat ...@@ -215,6 +216,7 @@ def get_WRT_form_as_csv(form_credentials: dict, jobPath: str, config: dict, stat
"CollectionDate" : ('parse_date',(('name_out','survey_infromation-survey_date'),('fmt_in','%m/%d/%Y'))), "CollectionDate" : ('parse_date',(('name_out','survey_infromation-survey_date'),('fmt_in','%m/%d/%Y'))),
"UpdateDate" : 'None', "UpdateDate" : 'None',
"GrowthStage" : 'site_information-growth_stage', "GrowthStage" : 'site_information-growth_stage',
"SurveySite" : 'site_information-survey_site',
"listDisease" : 'None', "listDisease" : 'None',
"YR.Severity" : ('parse_cases',(('name_out','yellow_rust-yellowrust_severity'),('cases', cases_severity),('dtype', int))), "YR.Severity" : ('parse_cases',(('name_out','yellow_rust-yellowrust_severity'),('cases', cases_severity),('dtype', int))),
"YR.Incident" : ('parse_cases',(('name_out','yellow_rust-yellowrust_incidence'),('cases', cases_incident))), "YR.Incident" : ('parse_cases',(('name_out','yellow_rust-yellowrust_incidence'),('cases', cases_incident))),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment