Skip to content

Commit

Permalink
syntax fix
Browse files Browse the repository at this point in the history
  • Loading branch information
robjharrison committed Jun 3, 2024
1 parent 9d125b0 commit cc51625
Show file tree
Hide file tree
Showing 4 changed files with 4,096 additions and 4,095 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
</head>
<body>
<h1>Ofsted ILACS Summary</h1>
<p>Summarised outcomes of published short and standard ILACS inspection reports by Ofsted, refreshed daily.<br/>An expanded version of the shown summary sheet, refreshed concurrently, is available to <a href='ofsted_childrens_services_overview.xlsx'>download here</a> as an .xlsx file. <br/>Data summary is based on the original <i>ILACS Outcomes Summary</i> published periodically by the ADCS:<a href='https://adcs.org.uk/inspection/article/ilacs-outcomes-summary'>https://adcs.org.uk/inspection/article/ilacs-outcomes-summary</a>.</p>
<p>Disclaimer: This summary is built from scraped data direct from https://reports.ofsted.gov.uk/ and the published PDF inspection report files. As a result of the nuances|variance within the inspection report content or pdf encoding, we're noting some problematic data extraction for a small number of LA's*.<br/> <a href="mailto:[email protected]?subject=Ofsted-Scrape-Tool">Feedback</a> on specific problems|inaccuracies|suggestions welcomed.<br/>**LA reports with issues: southend-on-sea, [overall, help_and_protection_grade,care_leavers_grade], nottingham,[inspection_framework, inspection_date], redcar and cleveland,[inspection_framework, inspection_date], knowsley,[inspector_name], stoke-on-trent,[inspector_name]</p>
<p><b>Summary data last updated: 03 06 2024 09:04</b></p>
<p><b>LA inspections last updated: ["export_data/inspection_reports/80429_birmingham/children's services inspection - 19 october 2012.pdf", "export_data/inspection_reports/80431_blackpool/children's services inspection - 13 july 2012.pdf", "export_data/inspection_reports/80490_bromley/children's services inspection - 17 august 2012.pdf", "export_data/inspection_reports/80543_rotherham/children's services inspection - 10 august 2012.pdf"]</b></p>
<p>Summarised outcomes of published short and standard ILACS inspection reports by Ofsted, refreshed daily.<br/>An expanded version of the shown summary sheet, refreshed concurrently, is available to <a href="ofsted_childrens_services_overview.xlsx">download here</a> as an .xlsx file. <br/>Data summary is based on the original <i>ILACS Outcomes Summary</i> published periodically by the ADCS: <a href="https://adcs.org.uk/inspection/article/ilacs-outcomes-summary">https://adcs.org.uk/inspection/article/ilacs-outcomes-summary</a>. <a href="https://github.com/data-to-insight/ofsted-ilacs-scrape-tool/blob/main/README.md">Read the tool/project background details and future work.</a>.</p>
<p>Disclaimer: This summary is built from scraped data direct from https://reports.ofsted.gov.uk/ published PDF inspection report files. As a result of the nuances|variance within the inspection report content or pdf encoding, we're noting some problematic data extraction for a small number of LAs*.<br/> *LA extraction issues: southend-on-sea, [overall, help_and_protection_grade,care_leavers_grade], nottingham,[inspection_framework, inspection_date], redcar and cleveland,[inspection_framework, inspection_date], knowsley,[inspector_name], stoke-on-trent,[inspector_name]<br/><a href="mailto:[email protected]?subject=Ofsted-Scrape-Tool">Feedback</a> on specific problems|inaccuracies|suggestions welcomed.*</p>
<p><b>Summary data last updated: 03 06 2024 10:30</b></p>
<p><b>LA inspections last updated: []</b></p>
<div class="container">
<table border="1" class="dataframe">
<thead>
Expand Down
23 changes: 12 additions & 11 deletions ofsted_childrens_services_inspection_scrape.py
Original file line number Diff line number Diff line change
Expand Up @@ -1156,20 +1156,21 @@ def save_to_html(data, column_order, local_link_column=None, web_link_column=Non
# Define the page title and introduction text
page_title = "Ofsted ILACS Summary"
intro_text = (
"Summarised outcomes of published short and standard ILACS inspection reports by Ofsted, refreshed daily.<br/>"
"An expanded version of the shown summary sheet, refreshed concurrently, is available to "
"<a href='ofsted_childrens_services_overview.xlsx'>download here</a> as an .xlsx file. "
"<br/>Data summary is based on the original <i>ILACS Outcomes Summary</i> published periodically by the ADCS:"
"<a href='https://adcs.org.uk/inspection/article/ilacs-outcomes-summary'>https://adcs.org.uk/inspection/article/ilacs-outcomes-summary</a>."
"<a href='https://github.com/data-to-insight/ofsted-ilacs-scrape-tool/blob/main/README.md'>Read the tool/project background details and future work.</a>."
'Summarised outcomes of published short and standard ILACS inspection reports by Ofsted, refreshed daily.<br/>'
'An expanded version of the shown summary sheet, refreshed concurrently, is available to '
'<a href="ofsted_childrens_services_overview.xlsx">download here</a> as an .xlsx file. '
'<br/>Data summary is based on the original <i>ILACS Outcomes Summary</i> published periodically by the ADCS: '
'<a href="https://adcs.org.uk/inspection/article/ilacs-outcomes-summary">https://adcs.org.uk/inspection/article/ilacs-outcomes-summary</a>. '
'<a href="https://github.com/data-to-insight/ofsted-ilacs-scrape-tool/blob/main/README.md">Read the tool/project background details and future work.</a>.'
)

disclaimer_text = (
"Disclaimer: This summary is built from scraped data direct from https://reports.ofsted.gov.uk/ published PDF inspection report files."
"As a result of the nuances|variance within the inspection report content or pdf encoding, we're noting some problematic data extraction for a small number of LA's*.<br/> "
"*LA extraction issues: southend-on-sea, [overall, help_and_protection_grade,care_leavers_grade], nottingham,[inspection_framework, inspection_date], redcar and cleveland,[inspection_framework, inspection_date], knowsley,[inspector_name], stoke-on-trent,[inspector_name]"
"<a href="mailto:datatoinsight.enquiries@gmail.com?subject=Ofsted-Scrape-Tool">Feedback</a> on specific problems|inaccuracies|suggestions welcomed.<br/>*"

'Disclaimer: This summary is built from scraped data direct from https://reports.ofsted.gov.uk/ published PDF inspection report files. '
'As a result of the nuances|variance within the inspection report content or pdf encoding, we\'re noting some problematic data extraction for a small number of LAs*.<br/> '
'*LA extraction issues: southend-on-sea, [overall, help_and_protection_grade,care_leavers_grade], nottingham,[inspection_framework, inspection_date], redcar and cleveland,[inspection_framework, inspection_date], knowsley,[inspector_name], stoke-on-trent,[inspector_name]<br/>'
'<a href="mailto:[email protected]?subject=Ofsted-Scrape-Tool">Feedback</a> on specific problems|inaccuracies|suggestions welcomed.*'
)

data = data[column_order]

# Convert specified columns to title case
Expand Down
Binary file modified ofsted_childrens_services_overview.xlsx
Binary file not shown.
Loading

0 comments on commit cc51625

Please sign in to comment.