liwca.fetch_threat#

liwca.fetch_threat()[source]#

Fetch the threat dictionary.

Returns:

Dictionary with a single "threat" category.

Return type:

pandas.DataFrame

Notes

The threat dictionary is described in Choi et al.[1] and available, along with other resources, on Michele Gelfand’s website[2].

References

Examples

>>> import liwca
>>> dx = liwca.fetch_threat()
>>> "accidents" in dx.index
True