knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", out.width = "100%" )
The goal of databradford is to provide a quick way to explore open datasets for Bradford city.
library(knitr) df <- data.frame("Datasets" = c("Secondary school profile", "Secondary school census", "Secondary school admission", "COVID-19 Vaccination", "Broadband speed", "Property price paid", "Crime incidents*", "Local business*", "Air quality", "LSOA map", "MSOA map", "OA map", "Postcode map", "Index of Multiple Deprivation"), "Starting" = c("2014", "2014", "2014", "2021", "2018", "1995", "2011", "2010", "2015", "2011", "2011", "2011", "2011", "2015"), "Ending" = c("2020", "2020", "2020", "2021", "2020", "2021", "2020", "2020", "2020", "2020", "2020", "2020", "2020", "2019"), "Geocoded" = c("Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "No", "Yes", "Yes", "Yes", "Yes", "Yes"), "Raw_data_contained" = c("100%", "100%", "100%", "90%", "100%", "100%", "6.9%", "20%", "100%", "100%", "100%", "100%", "100%", "100%"), "Released" = c("Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "Yes", "No", "No", "Yes", "Yes", "Yes", "Yes", "Yes") ) kable(df)
*
Due to the size of the raw data, the package can only contain a subset of the data in this category. If you wish to use the full scale of the raw data, please contact the package developer for further data request.
You can install the development version of databradford in R from GitHub with:
# install.packages("devtools") devtools::install_github("dataning/databradford")
library(databradford) # Secondary school admission data("sec_school_admission") # Secondary school profile data("sec_school_profile") # Secondary school census data("sec_school_census") # COVID-19 Vaccination data("vaccination") # Broadband speed data("broadband") # Property property <- property() # Crime incident data("crime") # Index of Multiple Deprivation data("imd")
# MSOA multipolygon msoa_map <- msoa() # LSOA multipolygon lsoa_map <- lsoa() # OA multipolygon oa_map <- oa() # postcode multipolygon postcode_map <- pc() # postcode point polygon postcode_map <- pcp()
To cite ‘databradford’ in publications use: Ning Lu (2021). databradford: An Open Data Package of Bradford City. R package version 0.0.1. https://r.databradford.com A BibTeX entry for LaTeX users is @Manual{, title = {databradford: An Open Data Package of Bradford City}, author = {Ning Lu}, year = {2021}, note = {R package version 0.0.1}, url = {https://r.databradford.com}, }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.