Language of Place (Code, Data, and Supplemental Materials)

cosine_similarity | Computes cosine similarity between two vectors. |

great_circle_distance | Computes the great-circle distance between two coordinate... |

place_composition | Adds together the vectors corresponding to a list of place... |

place_join | Given a gazetteer and a place name, finds all places that... |

plot_semantic_map | Plots all places where a key term is used. Computed over... |

plot_timeseries | Plots timeseres over a place-year matrix (1500-1699). |

ppmi | Calculates ppmi for a matrix |

semantic_footprint | Measures the semantic footprint of a term (computed over... |

semantic_similarity | Compute similarity over a matrix |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.