ukp_stop_search()
and ukp_stop_seach_poly()
(#22 & #23) to return
the stop and search crime information https://data.police.uk/docs/method/stops-street/lat_
and lng_
example data so people can explore crime in a few places like "London", "Cambridge University", "Oxford University", "Abby Road Recording Studio", and "Liverpool city".ukp_crime_poly()
now takes a data.frame of long/lat points instead of an long character vector. This is due to the utility function ukp_poly_paste
.ukp_geo_chull
which takes a data.frame and some lon/lat names and provides the dataframe which contains the convex hull of points. This can then be fed into ukp_crime_poly()
.ukp_crime_poly()
, which is like ukp_crime()
, but takes multiple pairs of long/lat to extract crime that falls within a polygon, instead of within a one mile radius of a particular pointukp_crime_unlist
which flattens the crime data.ukp_crime()
, which accesses the crimes that occur within one mile of a given latitude and longitude, and from a specific monthukp_last_update()
, to search for the last update in the crime data.ukp_
, so get_neighbourhoods
changed to ukp_neighbourhood()
, and ukpolice_api()
changed to ukp_api()
, as suggested by @sckott in issue #6.ukp_neighbourhood_force()
, to find associated neighbourhood forcename and neighbourhood ID....
option in ukp_api()
, to facilitate debugging, as suggested by @sckott in issue #7NEWS.md
file to track changes to the package.get_neighbourhoods
function.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.