https://github.com/andrie/nhs_prescriptions
Analysis of NHS England GP practice prescription data
https://github.com/andrie/nhs_prescriptions
Last synced: about 2 months ago
JSON representation
Analysis of NHS England GP practice prescription data
- Host: GitHub
- URL: https://github.com/andrie/nhs_prescriptions
- Owner: andrie
- Created: 2019-02-23T16:43:26.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-03-01T09:32:57.000Z (about 5 years ago)
- Last Synced: 2025-02-14T13:16:57.144Z (3 months ago)
- Language: R
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
```
## nhs_prescriptionsThe goal of `nhs_prescriptions` is to demonstrate operations on reasonably large data, using the NHS prescription level data as an example.
## Setup
Install spark and arrow system requirements
```{sh, eval = FALSE}
sudo apt get install openjdk-8jre
sudo pip install pyarrow==0.15.*
sudo apt-get install libparquet-dev
```Install packages
```{r, eval = FALSE}
install.packages(c(
"sparklyr",
"arrow",
"tidyverse",
"mapdata",
"mapproj",
"hexbin"
))
```Install spark and arrow
```{r, eval = FALSE}
arrow::install_arrow()
sparklyr::spark_install()
```