--- license: mit task_categories: - text-classification language: - en tags: - wellbeing - flourishing - llm - classification --- ### About the data These are partial results from [The Geography of Human Flourishing Project](https://i-guide.io/spatial-ai-challenge-2024/accepted-abstracts/) analysis for the years 2010-2023. This project is one of the 10 national projects awarded within the [Spatial AI-Challange 2024](https://i-guide.io/spatial-ai-challenge-2024/), an international initiative at the crossroads of geospatial science and artificial intelligence. At present only a subset of data for 2010-2012 are present. Data are in the form of CSV or parquet. In the datasets, FIPS is the FIPS code for a US state, county is the US county id, according to US Bureau of Census. This data contain 46 Human Flourishing dimensions plus migration mood and corruption perception. A reference paper will be uploaded. ## How to get the data with python ``` from datasets import load_dataset # Load the CSV df_csv = load_dataset("siacus/flourishing", data_files="flourishingStateYear.csv").to_pandas() # Load the Parquet df_parquet = load_dataset("siacus/flourishing", data_files="flourishingStateYear.parquet").to_pandas() ``` ## How to get the data with R There is no direct equivalent to ```datasets::load_dataset()``` from Hugging Face yet, so you can try this: ``` # Load the CSV library(data.table) df_csv <- fread("https://huggingface.co/datasets/siacus/flourishing/resolve/main/flourishingStateYear.csv") # Load the Parquet library(arrow) df_parquet <- read_parquet("https://huggingface.co/datasets/siacus/flourishing/resolve/main/flourishingStateYear.parquet") ```