Skip to content

laser.measles.demographics.shapefiles

laser.measles.demographics.shapefiles

laser.measles.demographics.shapefiles.add_dotname(path, dot_name_fields, dotname_symbol=':', append_suffix='dotname', inplace=False, field_name='DOTNAME')

Add a DOTNAME to the shapefile.

laser.measles.demographics.shapefiles.get_shapefile_dataframe(shapefile_path)

Get a DataFrame containing the shapefile data with DOTNAME and shape columns.

Parameters:

Name Type Description Default
shapefile_path str | Path

The path to the shapefile.

required

Returns:

Type Description
DataFrame

A DataFrame with DOTNAME and shape columns.