Published
Edited
Sep 28, 2022
1 fork
Insert cell
Insert cell
Insert cell
Insert cell
metadata=tr1.split('br')
Insert cell
locationDetails= [metadata[0], metadata[1], metadata [2], metadata[3]]
Insert cell
searchName= metadata[0].search("Union")
Insert cell
locationName=metadata[0].substring(177,197)
Insert cell
cleanaddressName= metadata[1].search("AA IT WORKS II - AA It Works II")
Insert cell
addressName= metadata[1].substring(18, 49)
Insert cell
cleanAddress= metadata[2].search(240)
Insert cell
unionAddress= metadata[2].substring(10, 31)
Insert cell
cleanUnionDirections= metadata[3].search("Betw")
Insert cell
unionDirection= metadata[3].substring(4,22)
Insert cell
cleanState= metadata[3].search("NY")
Insert cell
state= metadata[3].substring(28, 36)
Insert cell
unionAddressArray= [addressName, unionAddress,unionDirection, state]
Insert cell
meetingTimeDetails = tr1.split (' <br />' )
Insert cell
timeList= [meetingTimeDetails[1],meetingTimeDetails[2],meetingTimeDetails[3],meetingTimeDetails[4]]
Insert cell
time1= timeList[0].substring(510,560).replace("</b>","").replace("<b>","").replace("</b>","")
Insert cell
time2= timeList[1].substring(121,180).replace("</b>","").replace("<b>","").replace("</b>","")
Insert cell
time3= timeList[2].substring(121,180).replace("</b>","").replace("<b>","").replace("</b>","")
Insert cell
time4= timeList[3].substring(116,180).replace("</b>","").replace("<b>","").replace("</b>","")
Insert cell
timeArray= [time1,time2,time3,time4]
Insert cell
meetingType1= meetingTimeDetails[2].substring(3,41).replace("</b>", "")
Insert cell
meetingType2= meetingTimeDetails[3].substring(3,41).replace("</b>", "")
Insert cell
meetingType3= meetingTimeDetails[4].substring(3,36).replace("</b>", "")
Insert cell
meetingType4= meetingTimeDetails[5].substring(3,40).replace("</b>", "")
Insert cell
meetingTypeArray = [meetingType1, meetingType2,meetingType3,meetingType4]
Insert cell
wheelChairAccess = tr1.split('img src="../images/wheelchair.jpg')
Insert cell
wheelChairArray = [wheelChairAccess[1].substring(7,24)]
Insert cell
unionArray= [
unionAddressArray,
timeArray,
meetingTypeArray,
wheelChairArray
]
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more