Skip to content

kjdoore/pyOpenFEMA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyOpenFEMA

A python package for easily reading OpenFEMA datasets.

This package is intended to facilitate better access and promote more rapid analysis of OpenFEMA data. It is a wrapper around the OpenFEMA API, which allows for direct reading of datasets into a pandas dataframe without a user having to manually set up the API URL to the data. Users can either read in the full dataset or read in a subset of a dataset.

Please report any bugs, suggest enhancements, or ask questions by creating an issue.

Installation

The package can be installed using pip

pip install pyOpenFEMA

Basic Usage

At a basic level, a dataset can be read with:

from pyOpenFEMA import OpenFEMA

# Initialize the OpenFEMA session
openfema = OpenFEMA()

# List available datasets
print(openfema.list_datasets())

# Read in a dataset
df_femaregions = openfema.read_dataset('FemaRegions')

For more details and how to subset a dataset, see the tutorial notebook.

About

A python package for easily reading OpenFEMA datasets.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages