{"id":2,"date":"2019-07-31T18:12:45","date_gmt":"2019-07-31T18:12:45","guid":{"rendered":"https:\/\/ovrflw.digital\/femalifelines\/?page_id=2"},"modified":"2019-08-13T14:53:23","modified_gmt":"2019-08-13T14:53:23","slug":"home","status":"publish","type":"page","link":"https:\/\/ovrflw.digital\/femalifelines\/","title":{"rendered":"Home"},"content":{"rendered":"<p>[et_pb_section fb_built=&#8221;1&#8243; admin_label=&#8221;Header&#8221; _builder_version=&#8221;3.26.5&#8243; background_color=&#8221;#1a1844&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;#2b3ea0&#8243; background_color_gradient_end=&#8221;#1a1844&#8243; background_color_gradient_type=&#8221;radial&#8221; background_color_gradient_direction_radial=&#8221;top right&#8221; background_color_gradient_end_position=&#8221;45%&#8221; background_image=&#8221;https:\/\/ovrflw.digital\/femalifelines\/wp-content\/uploads\/sites\/7\/2019\/07\/podcast-01.png&#8221; parallax=&#8221;on&#8221; custom_padding=&#8221;12vw||0||false|false&#8221; collapsed=&#8221;off&#8221; background_size__hover=&#8221;cover&#8221; background_size__hover_enabled=&#8221;cover&#8221;][et_pb_row admin_label=&#8221;Presentation Dem&#8221; _builder_version=&#8221;3.25&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;rgba(26,24,68,0)&#8221; background_color_gradient_end=&#8221;#1a1844&#8243; background_color_gradient_overlays_image=&#8221;on&#8221; background_image=&#8221;https:\/\/ovrflw.digital\/femalifelines\/wp-content\/uploads\/sites\/7\/2019\/07\/podcast-02-1.png&#8221; background_position=&#8221;top_center&#8221; width=&#8221;100%&#8221; max_width=&#8221;100%&#8221; custom_padding=&#8221;|10%||10%||true&#8221; animation_style=&#8221;slide&#8221; animation_direction=&#8221;bottom&#8221; animation_intensity_slide=&#8221;1%&#8221; use_custom_width=&#8221;on&#8221; width_unit=&#8221;off&#8221; custom_width_percent=&#8221;100%&#8221; collapsed=&#8221;off&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Presentation Demo Title&#8221; _builder_version=&#8221;3.26.6&#8243; background_layout=&#8221;dark&#8221;]<\/p>\n<h4><span style=\"font-family: Lato, Helvetica, Arial, Lucida, sans-serif; font-size: 82px; font-weight: 900; letter-spacing: 1px;\">FEMA\u00a0<\/span><span style=\"font-family: Lato, Helvetica, Arial, Lucida, sans-serif; font-size: 82px; font-weight: 900; letter-spacing: 1px;\">LIFELINES<\/span><\/h4>\n<h3><span style=\"font-weight: 400;\">Casey Bruns \u00b7\u00a0<\/span><span style=\"font-weight: 400;\">Adrian Campos \u00b7\u00a0<\/span><span style=\"font-weight: 400;\">Jacqueline Walker<\/span><\/h3>\n<p>[\/et_pb_text][et_pb_code admin_label=&#8221;Presentation Code&#8221; _builder_version=&#8221;3.26.6&#8243;]<\/p>\n<div class='tableauPlaceholder' id='viz1564757251797' style='position: relative'><noscript><a href='#'><img alt=' ' src='https:\/\/public.tableau.com\/static\/images\/st\/story_test_15646891533070\/MainDashboard\/1_rss.png' style='border: none' \/><\/a><\/noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' \/><param name='embed_code_version' value='3' \/><param name='site_root' value='' \/><param name='name' value='story_test_15646891533070\/MainDashboard' \/><param name='tabs' value='no' \/><param name='toolbar' value='yes' \/><param name='static_image' value='https:\/\/public.tableau.com\/static\/images\/st\/story_test_15646891533070\/MainDashboard\/1.png' \/><param name='animate_transition' value='yes' \/><param name='display_static_image' value='yes' \/><param name='display_spinner' value='yes' \/><param name='display_overlay' value='yes' \/><param name='display_count' value='yes' \/><param name='filter' value='publish=yes' \/><\/object><\/div>\n<p>                <script type='text\/javascript'>                    var divElement = document.getElementById('viz1564757251797');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https:\/\/public.tableau.com\/javascripts\/api\/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                <\/script>[\/et_pb_code][et_pb_text _builder_version=&#8221;3.26.6&#8243; text_font=&#8221;||||||||&#8221; text_font_size=&#8221;20px&#8221; text_line_height=&#8221;1.8em&#8221; header_font=&#8221;Lato|900|||||||&#8221; header_font_size=&#8221;82px&#8221; header_letter_spacing=&#8221;1px&#8221; header_line_height=&#8221;1.2em&#8221; header_4_font=&#8221;Raleway|||on|||||&#8221; header_4_font_size=&#8221;22px&#8221; header_4_letter_spacing=&#8221;4px&#8221; header_4_line_height=&#8221;1.6em&#8221; text_orientation=&#8221;center&#8221; background_layout=&#8221;dark&#8221; max_width=&#8221;800px&#8221; module_alignment=&#8221;center&#8221; text_font_size_phone=&#8221;14px&#8221; text_font_size_last_edited=&#8221;on|desktop&#8221; header_font_size_tablet=&#8221;62px&#8221; header_font_size_phone=&#8221;38px&#8221; header_font_size_last_edited=&#8221;on|phone&#8221;]<\/p>\n<div class='tableauPlaceholder' id='viz1564716637162' style='position: relative'><noscript><a href='#'><img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;st&#47;story_test_15646891533070&#47;ZipcodesandComponents&#47;1_rss.png' style='border: none' \/><\/a><\/noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' \/><param name='embed_code_version' value='3' \/><param name='site_root' value='' \/><param name='name' value='story_test_15646891533070&#47;ZipcodesandComponents' \/><param name='tabs' value='no' \/><param name='toolbar' value='yes' \/><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;st&#47;story_test_15646891533070&#47;ZipcodesandComponents&#47;1.png' \/><param name='animate_transition' value='yes' \/><param name='display_static_image' value='yes' \/><param name='display_spinner' value='yes' \/><param name='display_overlay' value='yes' \/><param name='display_count' value='yes' \/><\/object><\/div>\n<p>                <script type='text\/javascript'>                    var divElement = document.getElementById('viz1564716637162');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https:\/\/public.tableau.com\/javascripts\/api\/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                <\/script>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row column_structure=&#8221;1_2,1_2&#8243; admin_label=&#8221;Findings&#8221; _builder_version=&#8221;3.26.6&#8243; collapsed=&#8221;on&#8221;][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.26.6&#8243;][et_pb_text admin_label=&#8221;Body&#8221; _builder_version=&#8221;3.26.6&#8243; background_layout=&#8221;dark&#8221;]<\/p>\n<h1>FEMA &#8211; Lifelines<\/h1>\n<p>The FEMA Lifelines project comprised of a two-fold goal:<\/p>\n<ul>\n<li>Estimate and categorize businesses and infrastructure in a city by FEMA Lifelines<\/li>\n<li>Understand the distribution of FEMA Lifelines<\/li>\n<\/ul>\n<h3><a id=\"user-content-fema-lifeline-community-implmentation-toolkit\" class=\"anchor\" href=\"https:\/\/git.generalassemb.ly\/Jacqueline\/GA_DSI8_FEMA_Lifelines#fema-lifeline-community-implmentation-toolkit\" aria-hidden=\"true\"><\/a>FEMA Lifeline Community Implementation Toolkit<\/h3>\n<p>For detailed information concerning the FEMA Lifelines &#8211; see the\u00a0<a href=\"https:\/\/www.fema.gov\/media-library\/assets\/documents\/177222\" rel=\"nofollow\">FEMA Toolkit<\/a>\u00a0file for details<\/p>\n<h2>Approach<\/h2>\n<p>Step 1. Research Lifelines<\/p>\n<ul>\n<li>We split up the research by lifeline, so each of us researched FEMA&#8217;s needs and uses for a few at a time. In this research, we found that some of the categories and search terms of Yelp and Google didn&#8217;t address components. Finding relevant data was one of the intial struggles. However, once we had the search terms, we were able to pull down the data relatively quickly by using functions.<\/li>\n<li>We manually selected YELP categories and Google Search Terms that aligned with FEMA&#8217;s 7 lifelines and the components within each. We applied our search to Houston, Texas. For this project, we started with YELP and then utilized Google to populate the components that were not available through YELP.<\/li>\n<\/ul>\n<h3><a id=\"user-content-using-functions\" class=\"anchor\" href=\"https:\/\/git.generalassemb.ly\/Jacqueline\/GA_DSI8_FEMA_Lifelines#using-functions\" aria-hidden=\"true\"><\/a>Using Functions:<\/h3>\n<p>Step 2. Used\u00a0<code>lifelinescrape.py<\/code>\u00a0to import functions that automate the scraping and place data into a pandas.DataFrame<\/p>\n<p><em>Type 1.<\/em>\u00a0We used the following for our\u00a0<code>Getting Lifeline Data<\/code>\u00a0notebook. Because we initally split up the task of digging into these lifelines over a single city(Houston, TX), these functions below are only for Houston, Texas and is designed to only process one Lifeline at a time.<\/p>\n<ul>\n<li>scrape_yelp(tuple_list, lifeline_num api_key)<\/li>\n<li>scrape_google(tuple_list, lifeline_num api_key)<\/li>\n<\/ul>\n<p><em>Type 2.<\/em>\u00a0We used the following for our\u00a0<code>Find Your City<\/code>\u00a0notebook. After we finished getting all our data, we realized these functions could easily be translated to other cities. To do this, we had to come up with general search terms that could apply beyond Houston, TX and still meet FEMA Lifeline needs. After coming up with this list we were able to modify the function to take in just a city parameter and automatically find all the lifelines. We only used Google in this function because Yelp returned unreliable data regularly, so to avoid this problem we just pulled from GooglePlaces API. One of the drawbacks in using this is that we were only able to figure out how to pull down 20 search results at a time. Going forward, it would be cool to get the code to pull down more than the first page of results.<\/p>\n<ul>\n<li>find_lifelines(city, api_key)<\/li>\n<\/ul>\n<p>[\/et_pb_text][\/et_pb_column][et_pb_column type=&#8221;1_2&#8243; _builder_version=&#8221;3.26.6&#8243;][et_pb_text admin_label=&#8221;Body&#8221; _builder_version=&#8221;3.26.6&#8243; background_layout=&#8221;dark&#8221;]<\/p>\n<h2>Results<\/h2>\n<p>Some noteworthy findings were:<\/p>\n<ul>\n<li>Energy had the highest return of the 7 components, with 270 total observations<\/li>\n<li>Hazardous Material had the lowest return of the 7, with 27.<\/li>\n<\/ul>\n<ul>\n<li>The 7 lifelines are broken down into a total of 22 components.<\/li>\n<\/ul>\n<ul>\n<li>The highest component was public health with 238 observations.<\/li>\n<li>The lowest component was search and rescue with only 1 observation.<\/li>\n<\/ul>\n<p>Houston was significantly more lifeline-dense on the west side of the city, with Interstate Highway 45 and Highway 288 providing an East\/West Visual Barrier.<\/p>\n<p>There is noticeably less access to financial services in zip codes east of the highway lines. There are also noticeably fewer hospitals and medical centers.<\/p>\n<p>The energy lifeline (consisting primarily of fuel service stations) is more evenly distributed as are Food, Water, &amp; Shelter, and Safety &amp; Security.<\/p>\n<p>For demonstration purposes a temporary one page site was developed and may still be available. This site has interactive maps and zip code data by lifeline &amp; component for Houston.\u00a0<a href=\"https:\/\/ovrflw.digital\/femalifelines\" rel=\"nofollow\">FEMA Lifelines Website<\/a>.<\/p>\n<p>Tableau Public visualizations should still be available with data from Austin, Atlanta, &amp; Chicago.\u00a0<a href=\"https:\/\/public.tableau.com\/profile\/adrian7499#!\/vizhome\/Book1_15646818663600\/Dashboard1?publish=yes\" rel=\"nofollow\">Visualizations<\/a><\/p>\n<h2><a id=\"user-content-improvements--next-steps\" class=\"anchor\" href=\"https:\/\/git.generalassemb.ly\/Jacqueline\/GA_DSI8_FEMA_Lifelines#improvements--next-steps\" aria-hidden=\"true\"><\/a>Improvements &amp; Next Steps<\/h2>\n<h3><a id=\"user-content-improvements\" class=\"anchor\" href=\"https:\/\/git.generalassemb.ly\/Jacqueline\/GA_DSI8_FEMA_Lifelines#improvements\" aria-hidden=\"true\"><\/a>Improvements:<\/h3>\n<p>For this project, we started with the YELP and used Google to supplement. In the future, starting with Google to populate as many of the components as possible and then exploring YELP (and researching further to determine what other sources might yield appropriate information) would likely yield more observations and allow us to tell a more complete story.<\/p>\n<p>Additionally, I think more time in the discussion and research of the lifelines and their individual components to ensure our search terms authentically meet the goals of the FEMA lifelines as closely as possible. We spent over two days on this and were intentional in the timeframe, but I believe it could still get better as we learn more over time.<\/p>\n<h3><a id=\"user-content-next-steps\" class=\"anchor\" href=\"https:\/\/git.generalassemb.ly\/Jacqueline\/GA_DSI8_FEMA_Lifelines#next-steps\" aria-hidden=\"true\"><\/a>Next Steps:<\/h3>\n<p>This model serves as a base and could be used to assist FEMA in the first steps of natural disaster planning. It has not yet reached the point of being of service in the event of a hurricane, our natural disaster of focus.<\/p>\n<p>Learning how to do the following and implementing will help us to support FEMA during and after a hurricane, in addition to before:<\/p>\n<ul>\n<li>embed live information about if the businesses\/locations are open and functional<\/li>\n<li>train a model on prior hurricanes that have hit Houston (Harvey, Ike), to show at any given time which areas and the lifelines within them will still be functional or will be damaged and to what degree<\/li>\n<\/ul>\n<h2>Authors<\/h2>\n<ul>\n<li><strong>Casey Bruns<\/strong>\u00a0&#8211;\u00a0<a href=\"https:\/\/github.com\/caseybruns\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Github <\/a><a href=\"https:\/\/www.linkedin.com\/in\/caseybruns\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linkedin<\/a><\/li>\n<li><strong>Adrian Campos<\/strong>\u00a0&#8211;\u00a0<a href=\"https:\/\/github.com\/adriancampos1\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Github <\/a><a href=\"https:\/\/www.linkedin.com\/in\/adriancampos1\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linkedin<\/a><\/li>\n<li><strong>Jacqueline Walker<\/strong>\u00a0&#8211;\u00a0<a href=\"https:\/\/github.com\/JacquelineEEE\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Github <\/a><a href=\"https:\/\/www.linkedin.com\/in\/jacqueline-walker\/\" target=\"_blank\" rel=\"noopener noreferrer\">Linkedin<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][\/et_pb_column][\/et_pb_row][et_pb_row admin_label=&#8221;Live Demo&#8221; _builder_version=&#8221;3.25&#8243; use_background_color_gradient=&#8221;on&#8221; background_color_gradient_start=&#8221;rgba(26,24,68,0)&#8221; background_color_gradient_end=&#8221;#1a1844&#8243; background_color_gradient_overlays_image=&#8221;on&#8221; background_image=&#8221;https:\/\/ovrflw.digital\/femalifelines\/wp-content\/uploads\/sites\/7\/2019\/07\/podcast-02-1.png&#8221; background_position=&#8221;top_center&#8221; width=&#8221;100%&#8221; max_width=&#8221;100%&#8221; custom_padding=&#8221;|10%||10%||true&#8221; animation_style=&#8221;slide&#8221; animation_direction=&#8221;bottom&#8221; animation_intensity_slide=&#8221;1%&#8221; use_custom_width=&#8221;on&#8221; width_unit=&#8221;off&#8221; custom_width_percent=&#8221;100%&#8221; collapsed=&#8221;off&#8221;][et_pb_column type=&#8221;4_4&#8243; _builder_version=&#8221;3.25&#8243; custom_padding=&#8221;|||&#8221; custom_padding__hover=&#8221;|||&#8221;][et_pb_text admin_label=&#8221;Live Demo Title&#8221; _builder_version=&#8221;3.26.6&#8243; background_layout=&#8221;dark&#8221;]<\/p>\n<h4><span style=\"font-family: Lato, Helvetica, Arial, Lucida, sans-serif; font-size: 82px; font-weight: 900; letter-spacing: 1px;\">FEMA\u00a0<\/span><span style=\"font-family: Lato, Helvetica, Arial, Lucida, sans-serif; font-size: 82px; font-weight: 900; letter-spacing: 1px;\">LIFELINES DEMO<\/span><\/h4>\n<h5>During our project presentation, we decided to recreate an actual disaster scenario, where FEMA would need situational awareness going into a disaster area. With this in mind, a live demo was deemed necessary. FEMA would have the ability to select the city in question and have the 7 Lifelines populated along with their corresponding components<\/h5>\n<h5>Atlanta and Chicago were chosen, we decided to include Austin. As this is a live\u00a0scraping of assets available at the given moment, the web sources are scraped and dynamically made available to FEMA. Below you will find the finished tableau dashboards with this data.<\/h5>\n<h5>Feel free to play around with the interactive components. Select your city and Lifeline you would like to explore. You will find the Lifeline location and its corresponding components.<\/h5>\n<p>&nbsp;<\/p>\n<p>[\/et_pb_text][et_pb_code admin_label=&#8221;Live Demo Code&#8221; _builder_version=&#8221;3.26.7&#8243;]<\/p>\n<div class='tableauPlaceholder' id='viz1565707967400' style='position: relative'><noscript><a href='https:&#47;&#47;ovrflw.digital&#47;femalifelines&#47;'><img alt=' ' src='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;X3&#47;X3PYYRCHN&#47;1_rss.png' style='border: none' \/><\/a><\/noscript><object class='tableauViz'  style='display:none;'><param name='host_url' value='https%3A%2F%2Fpublic.tableau.com%2F' \/><param name='embed_code_version' value='3' \/><param name='path' value='shared&#47;X3PYYRCHN' \/><param name='toolbar' value='yes' \/><param name='static_image' value='https:&#47;&#47;public.tableau.com&#47;static&#47;images&#47;X3&#47;X3PYYRCHN&#47;1.png' \/><param name='animate_transition' value='yes' \/><param name='display_static_image' value='yes' \/><param name='display_spinner' value='yes' \/><param name='display_overlay' value='yes' \/><param name='display_count' value='yes' \/><param name='filter' value='publish=yes' \/><\/object><\/div>\n<p>                <script type='text\/javascript'>                    var divElement = document.getElementById('viz1565707967400');                    var vizElement = divElement.getElementsByTagName('object')[0];                    vizElement.style.width='100%';vizElement.style.height=(divElement.offsetWidth*0.75)+'px';                    var scriptElement = document.createElement('script');                    scriptElement.src = 'https:\/\/public.tableau.com\/javascripts\/api\/viz_v1.js';                    vizElement.parentNode.insertBefore(scriptElement, vizElement);                <\/script>[\/et_pb_code][\/et_pb_column][\/et_pb_row][\/et_pb_section]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>FEMA\u00a0LIFELINES Casey Bruns \u00b7\u00a0Adrian Campos \u00b7\u00a0Jacqueline Walker FEMA &#8211; Lifelines The FEMA Lifelines project comprised of a two-fold goal: Estimate and categorize businesses and infrastructure in a city by FEMA Lifelines Understand the distribution of FEMA Lifelines FEMA Lifeline Community Implementation Toolkit For detailed information concerning the FEMA Lifelines &#8211; see the\u00a0FEMA Toolkit\u00a0file for details [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"open","template":"page-template-blank.php","meta":{"_et_pb_use_builder":"on","_et_pb_old_content":"","_et_gb_content_width":"","ngg_post_thumbnail":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-2","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/pages\/2","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/comments?post=2"}],"version-history":[{"count":0,"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/pages\/2\/revisions"}],"wp:attachment":[{"href":"https:\/\/ovrflw.digital\/femalifelines\/wp-json\/wp\/v2\/media?parent=2"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}