alexanderquispe/Diplomado_PUCP

Assignment 7

Opened this issue · 0 comments

Dear all,

Each group must create their branch named group_#_ass_7_2024_2 (group_1_ass_7_2024_2) and save their results in the Assignment_7 folder. Name your JN like your branch.

  1. Import the data located at this link. It has information on people infected with dengue at the district level for 2015 to 2021.
  2. Generate ubigeo for Departments and Provinces taking the first two and four numbers. Hint: Use this code.
  3. Use geopandas to plot the number of cases in 2021 by the district using a continuous legend. Do not forget to indicate the color of NA values. Use this shapefile.
  4. Use geopandas to plot the number of cases in 2021 by the province using a continuous legend. Do not forget to indicate the color of NA values. Use this shapefile. For this task, you will have to aggregate shapefiles at the province level.
  5. Use geopandas to plot the number of cases by the department for all the years using subplots. Every subplot for each year. Do not forget to indicate the color of NA values. Use this shapefile. For this task, you will have to aggregate shapefiles at the department level.
  6. Use geopandas to plot the number of cases by the department for all 2021 quarters using subplots. Every subplot for each quarter. Use a categorical legend with 5 bins. Do not forget to indicate the color of NA values. Use this shapefile. For this task, you will have to aggregate shapefiles at the department level. Hint: Use Semana variable to group by quarters.

Deadline 07/09/2024 11:59pm