revised documentation

This commit is contained in:
Saran Ahluwalia 2021-12-29 09:07:40 -05:00
parent e3a5da19a5
commit 90b96f9303

View file

@ -8,7 +8,6 @@ logger = get_module_logger(__name__)
# #
class TreeEquityScoreETL(ExtractTransformLoad): class TreeEquityScoreETL(ExtractTransformLoad):
""" """
From the documentation:
Tree equity score methodology: https://www.treeequityscore.org/methodology/ Tree equity score methodology: https://www.treeequityscore.org/methodology/
A lower Tree Equity Score indicates a greater priority for closing the tree canopy gap A lower Tree Equity Score indicates a greater priority for closing the tree canopy gap
In order to estimate a general number of trees associated with an increase in tree In order to estimate a general number of trees associated with an increase in tree
@ -121,7 +120,7 @@ class TreeEquityScoreETL(ExtractTransformLoad):
"source", "source",
"avg_temp", # Average Temperature from USGS Earth Explorer "avg_temp", # Average Temperature from USGS Earth Explorer
"ua_name", "ua_name",
"incorpname", # Incorporated place name "incorpname", # Incorporated place name
"congressio", # Congressional District "congressio", # Congressional District
"biome", "biome",
"bgpopdense", "bgpopdense",
@ -130,8 +129,8 @@ class TreeEquityScoreETL(ExtractTransformLoad):
"tc_goal", # Tree canopy goal "tc_goal", # Tree canopy goal
"priority", # Priority community according to the index "priority", # Priority community according to the index
"tes", # Tree equity score "tes", # Tree equity score
"tesctyscor", # tree equity score for the county "tesctyscor", # Tree equity score for the county
"geometry", # block group geometry coordinates "geometry", # Block group geometry coordinates
] ]
] ]
self.df.to_csv(self.CSV_PATH / "usa.csv", index=False) self.df.to_csv(self.CSV_PATH / "usa.csv", index=False)