Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 844 Bytes

README.md

File metadata and controls

28 lines (21 loc) · 844 Bytes

Community Example

This site was generated from the Social Data Commons's community_example view.

To recompile from source repositories, clone that repository, and run this (assuming this repository is in the same directory):

# remotes::install_github("uva-bi-sdad/community")
library(community)

# clone/pull the data repositories
datacommons_refresh("../social_data_commons")

# rebuild the view
datacommons_view(
  "../social_data_commons", "community_example", entity_info = NULL, prefer_repo = TRUE
)

To run the site locally, run this:

site_build(
  "../community_example", version = "dev", serve = TRUE,
  endpoint = "https://vdh-data-commons.netlify.app/api"
)