diff --git a/docs/exposure_to_lead_in_schools_nys.html b/docs/exposure_to_lead_in_schools_nys.html index e343da3..204badf 100644 --- a/docs/exposure_to_lead_in_schools_nys.html +++ b/docs/exposure_to_lead_in_schools_nys.html @@ -4802,9 +4802,9 @@

Contents

  • Read data
  • Preparing the lead dataset for the analysis
  • Get familiar with the dataset
  • -
  • Converting from tabular data to geo-spatial data
  • +
  • Converting from tabular data to geospatial data
  • Mapping the dataset
  • -
  • Obtain population data from US Census Bureau
  • +
  • Obtain population data from the US Census Bureau
  • Explore your data spatially
  • Aggregate school locations in county boundary and compare with county population
  • ENSURING SAFE DRINKING WATER
  • @@ -4857,7 +4857,7 @@

    NYS School Water Quality: Exposure to Lead

    Lead Testing in NYS School Drinking Water

    Overview

    -

    This use case explores the risks of exposure to lead via drinking water. Lead contamination is a serious issue that poses severe health risks and requires remedial action. In this lesson, we will analyze data on lead levels in NY State schools collected from 2016, 2017, 2018 and 2019 and compare it with population characteristics at county level in NYS to understand its impact. No “safe” levels of lead have been established, but we will discuss what level of lead can be detected. The lesson examines the sources of lead exposure and its adverse effects. The review also discusses the importance of data transparency, public participation, visualizing contamination as maps/graphs, and estimating population risks to address water quality issues.

    +

    This use case explores the risks of exposure to lead via drinking water. Lead contamination is a serious issue that poses severe health risks and requires remedial action. In this lesson, we will analyze data on lead levels in NY State schools collected from 2016, 2017, 2018, and 2019 and compare it with population characteristics at the county level in New York State (NYS) to understand its impact. No “safe” levels of lead have been established, but we will discuss what level of lead can be detected. The lesson examines the sources of lead exposure and its adverse effects. The review also discusses the importance of data transparency, public participation, visualizing contamination as maps/graphs, and estimating population risks to address water quality issues.

    Learning Objectives

    @@ -4878,7 +4878,7 @@

    Introduction

    LEAD IN NEW YORK SCHOOLS

    New York State (NYS) Lead Testing in School Drinking Water dataset shows the school drinking water lead sampling and results information reported by each NYS public school and Boards of Cooperative Educational Services (BOCES) (NYS Department of Health). More information on the NYS dataset sampling is available here.

    -

    Analysis of the dataset reveals that as of 2022, 1,864 schools had lead outlets testing higher than 15 ppb (NYS 2016). While 527 schools finished their remediation, 1,851 schools reported taking remedial action. There are now 12 schools with outlets exceeding 15 ppb in operation, indicating possible continuous exposure. However, there are gaps in following up and documenting the corrective measures. More transparency is necessary for schools with high exposure to lead to address the hazards of lead contamination and implement improved repeated testing protocols. The New York State Department of Health provides guidelines, rules, and resources pertaining to lead testing and remediation in schools (Health 2023). However, it seems that there is currently a lack of financial and technical support for schools to handle lead hazards.

    +

    Analysis of the dataset reveals that as of 2022, 1,864 schools had lead outlets testing higher than 15 ppb (NYS 2016). While 527 schools finished their remediation, 1,851 schools reported taking remedial action. There are now 12 schools with outlets exceeding 15 ppb in operation, indicating possible continuous exposure. However, there are gaps in following up and documenting the corrective measures. More transparency is necessary for schools with high exposure to lead to address the hazards of lead contamination and implement improved repeated testing protocols. The New York State Department of Health provides guidelines, rules, and resources on lead testing and remediation in schools (Health 2023). However, it seems that there is currently a lack of financial and technical support for schools to handle lead hazards.

    @@ -4889,7 +4889,7 @@

    LEAD IN NEW YORK

    -

    Thousands of people were exposed to dangerously high lead levels in their drinking water when the Flint water crisis broke out in 2014. A study by Virginia Tech researchers, through their resident-organized sampling to testing data of 252 homes, revealed that lead levels in the city had increased. Over 17% of samples tested higher than the federal “action level” of 15 ppb, which calls for the need for corrective action. More than 40% had lead readings higher than 5 ppb, which the researchers deemed indicative of a “very serious” issue.

    +

    Thousands of people were exposed to dangerously high lead levels in their drinking water when the Flint water crisis broke out in 2014. A study by Virginia Tech researchers, through their resident-organized sampling to testing data of 252 homes, revealed that lead levels in the city had increased (Council, n.d.). Over 17% of samples tested higher than the federal “action level” of 15 ppb, which calls for the need for corrective action. More than 40% had lead readings higher than 5 ppb, which the researchers deemed indicative of a “very serious” issue.

    Even years after the crisis began, elevated lead levels remained in Flint’s schools. An article by The New York Times discusses how, in 2019, drinking water samples from 30 Flint school buildings still exhibit excessive lead levels. The elevated levels demonstrate remaining problems with a prolonged impact on children’s health and development. Schools have an obligation to supply their pupils with clean drinking water. The Flint water crisis brought to light the long-term consequences of prolonged exposure to lead, especially for vulnerable groups such as children.

    Lead exposure is cumulative, as noted in the article by the Tampa Bay Times. The duration of lead exposure in Flint has lasting impacts on the public, not only affecting physical health but also leading to psychological consequences of communities not being able to trust their drinking water (Brooks and Patel 2021). Rather than waiting for concerns to arise, schools can detect contamination issues early and take corrective action by implementing a lead testing program. Better learning outcomes are made possible by shielding children from lead exposure. The Flint water crisis made clear how crucial it is to conduct proactive lead testing, monitor the situation, and take prompt, corrective action. It also made clear how important it is to be transparent, involve the community, and address barriers to clean drinking water access.

    In 2021, the Biden-Harris administration announced an ambitious Lead Pipe and Paint Action Plan. This comprehensive $15 billion effort intends to promptly replace all lead service lines and pipes that are contaminating drinking water systems across the country. The plan has a provision of providing a lead remediation grant of $9 billion to disadvantaged communities through the Water Infrastructure Improvements for the Nation Act (WIIN) program, including for schools and childcare centers at EPA.

    @@ -4897,7 +4897,7 @@

    LEAD IN NEW YORK

    Read data

    -

    To work with the NYS data, first we will read the NYS school lead testing results from 2016 to 2019. The dataset is hosted on a GitHub repository and we will read the dataset by using the dataset url.

    +

    To work with the NYS data, first we will read the NYS school lead testing results from 2016 to 2019. The dataset is hosted on a GitHub repository and we will read the dataset by using the dataset URL.

    # Dataset url on GitHub repository.
     data_url<-"https://raw.githubusercontent.com/renastechschool/Python_tutorials/main/Lead_Testing_in_School_Drinking_Water_Sampling_and_Results_Compliance_Year_2016_formated.csv?token=GHSAT0AAAAAACNH7S3BJGTQXNGH4UPQCJI6ZNQB3VA"
    @@ -4907,14 +4907,14 @@ 

    Read data

    Preparing the lead dataset for the analysis

    -

    All datasets require some pre-cleaning and formatting. In the section below, we will format field names. R does not like fields names with spaces, so we need to convert space to an underscore “_”. Also, we need to extract the year from the date field for the next step of our work.

    +

    All datasets require some pre-cleaning and formatting. In the section below, we will format field names. R does not like field names with spaces, so we need to convert space to an underscore “_”. Also, we need to extract the year from the date field for the next step of our work.

    # There are empty spaces in the field names which R does not like.
     # Replace empty space with "_".
     names(school_lead_df) <- names(school_lead_df) %>% stringr::str_replace_all("\\s","_")
     
     
    -# Extract the year from date field. We are using Date_Results_Updated for the date.
    +# Extract the year from the date field. We are using Date_Results_Updated for the date.
     school_lead_df<-school_lead_df %>%  mutate(year=format(as.Date(Date_Results_Updated, format="%d/%m/%Y"),"%Y"))
     
     # Data reports lead level by outlets if a outlet lead level is above or under 15ppb.
    @@ -4928,7 +4928,7 @@ 

    Get familiar with the dataset

    Getting familiar with the dataset is the first step of an analysis. To understand the attributes, we will query data by geographic region (county) and different attributes (fields).

    -

    The code below creates a Shiny app which allows users to select a county and specific fields from a data frame (school_lead_df), and then it displays the corresponding data table based on the user’s selections.

    +

    The code below creates a Shiny app that allows users to select a county and specific fields from a data frame (school_lead_df), and then it displays the corresponding data table based on the user’s selections.

    @@ -4962,11 +4962,11 @@

    Get familiar


    -
    -

    Converting from tabular data to geo-spatial data

    -

    A dataset needs to have a geometry attribute to plot the data on a map or to do different spatial analysis. The NYS dataset has xy coordinates of schools. The xy coordinates will allow us to convert the tabular dataset to a spatial dataset.

    -

    We first need to address that the xy coordinates are not properly formatted. The coordinates are currently stored with school addresses, for example: 31-02 67 AVENUE Queens, NY 11364(40.74779141700003, -73.74551716499997). We need to extract the coordinates (40.74779141700003, -73.74551716499997) and store the value on each side of the comma as a separate field. The first number refers to the y coordinate (latitude), the second number refers to the x coordinate (longitude).

    -

    While converting the data, we also need to know the projection of xy coordinates. XY coordinates can be in different projections systems. Projection information is typically stored in the metadata of a dataset. However, in the NYS dataset there is not any metadata attached to the dataset.

    +
    +

    Converting from tabular data to geospatial data

    +

    A dataset needs to have a geometry attribute to plot the data on a map or to conduct different spatial analyses. The NYS dataset has xy coordinates of schools. The xy coordinates will allow us to convert the tabular dataset to a spatial dataset.

    +

    We first need to address that the xy coordinates are not properly formatted. The coordinates are currently stored with school addresses, for example: 31-02 67 AVENUE Queens, NY 11364(40.74779141700003, -73.74551716499997). We need to extract the coordinates (40.74779141700003, -73.74551716499997) and store the value on each side of the comma as a separate field. The first number refers to the y coordinate (latitude), and the second number refers to the x coordinate (longitude).

    +

    While converting the data, we also need to know the projection of xy coordinates. XY coordinates can be in different projection systems. Projection information is typically stored in the metadata of a dataset. However, in the NYS dataset, there is not any metadata attached to the dataset.

    The most commonly used geographic coordinate system is the WORLD GEODETIC SYSTEM 1984 (WGS 84). We will use the WGS84 projection to convert the NYS dataset to spatial data.


    @@ -5026,9 +5026,9 @@

    Mapping the dataset


    -
    -

    Obtain population data from US Census Bureau

    -

    We will next pull population datafrom US Census Bureau by using the Census Bureau’s Application Programming Interface (API).

    +
    +

    Obtain population data from the US Census Bureau

    +

    We will next pull population data from the US Census Bureau by using the Census Bureau’s Application Programming Interface (API).

    #|panel: fill
     
    @@ -5264,6 +5264,9 @@ 

    Explore the data

    Brooks, Samantha K, and Sonny S Patel. 2021. “Psychological Consequences of the Flint Water Crisis: A Scoping Review.” Disaster Medicine and Public Health Preparedness 16 (3): 1259–69. https://doi.org/10.1017/dmp.2021.41.
    +
    +Council, National Resource Defense. n.d. “Flint Water Crisis: Everything You Need to Know.” https://www.nrdc.org/stories/flint-water-crisis-everything-you-need-know#summary. +
    Environmental Health Sciences, National Institute of. n.d. “Safe Water and Your Health.” https://www.niehs.nih.gov/health/topics/agents/water-poll.