uclalawcovid19behindbars / facility_data

Prison and jail facility information
https://uclacovidbehindbars.org/
GNU General Public License v3.0
2 stars 3 forks source link

Populate missing lat/lon in sparse states #29

Closed erika-tyagi closed 3 years ago

erika-tyagi commented 3 years ago

Start with sparse states to avoid overwhelming the map on the website. For example, this yields ~80 facilities to geocode (where the sparse states were semi-arbitrarily chosen by manual inspection):

sparse_states <- c(
    "Washington", "Oregon", "Idaho", "Montana", "Wyoming", "North Dakokta", 
    "South Dakota", "Nebraska", "Kansas", "Oklahoma",  "Nevada", "Utah", "Colorado", 
    "Kansas", "New Mexico", "Arizona", "Minnesota", "Iowa", "Missouri", 
    "Arkansas", "Louisiana", "Maine", "Florida")

behindbarstools::read_scrape_data() %>% 
    filter(is.na(Longitude)) %>% 
    filter(State %in% sparse_states) %>% 
    nrow()
erika-tyagi commented 3 years ago

done with a9ddc6c