Git Product home page Git Product logo

denmark-lvostroke's Introduction

DENMARK-lvostroke

This is a documentation of the progress for the project It uses the following packages: eurostat, dplyr, sf and mapview. Mapview provides interactive map view using leaflet. The geocoding of the hospital is performed using geocode_OSM function from tmaptools.

Codes: This project is written with codes adapted from https://richardbeare.github.io/GeospatialStroke/.

Population data: Data on population in Denmark can be obtained at this link. https://www.statbank.dk/INDAMP01. The statbank population data is not in tidy data format as it is collected with one row for each kommune follow by a line for total population, a line below for men and a line below for women.

Shapefile: The shapefile for the NUTS2 and NUTS3 can be obtained from eurostat package in R. The shapefile from the 99 kommune can be obtained at this site https://ec.europa.eu/eurostat/web/gisco/geodata/reference-data/administrative-units-statistical-units/communes.

Address: The Danish address registry is available at https://eng.sdfe.dk/product-and-services/the-danish-address-register/. This data is compiled in geojson format using fetchstuff.R and takes a very long time to run. the data is stored in GeoJSON folder in your computer as a file labelled kommune_addresser.Rda. It is approximately 436 MB and so is not uploaded to github.

Hospital data: The data for the hospitals in demark (HospLocations.Rda) contains comprehensive stroke unit (CSC) and primary stroke centre (PSC).

Helicopter: The data for the helicopter locations are available in HeliLocations.Rda.

Stroke frequency: The stroke frequency data is obtained from Dansk Apopleksiregister Årsrapport 2018. Converting the data from pdf to xcel format can be difficult due to the use of Danish characters. This is done using excalibur-py. see the file pdftables.R. There are 2 xcel files: one is labelled 4669_dap_aasrapport.xlsx and denmarkstrokepdf.csv. The denmarkstrokepdf.csv has been edited with regards to Dabish characters.

Street network: This file streetnetwork.R is still under development.

Google Maps API: plan to sample 50 random addresses from each kommune.

denmark hospital

The map below contains data on number of stroke in 2018 within each NUTS2 region and 30 mkm catchment of each hospital.

denmark stroke hospital

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.