Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...
This resource contains some files/folders that have non-preferred characters in their name. Show non-conforming files/folders.
This resource contains content types with files that need to be updated to match with metadata changes. Show content type files that need updating.
Supporting data and scripts for "Worldviews more than experience predict Californians’ support for wildfire risk mitigation policies"
Authors: |
|
|
---|---|---|
Owners: |
|
This resource does not have an owner who is an active HydroShare user. Contact CUAHSI (help@cuahsi.org) for information on this resource. |
Type: | Resource | |
Storage: | The size of this resource is 977.2 MB | |
Created: | Feb 11, 2021 at 5:39 p.m. | |
Last updated: | Mar 27, 2024 at 3:45 p.m. (Metadata update) | |
Published date: | Mar 27, 2024 at 3:45 p.m. | |
DOI: | 10.4211/hs.2ae24516a62847f893867d33c31937d4 | |
Citation: | See how to cite this resource | |
Content types: | Geographic Feature Content |
Sharing Status: | Published |
---|---|
Views: | 498 |
Downloads: | 21 |
+1 Votes: | 1 other +1 this |
Comments: | No comments (yet) |
Abstract
Code and data repository for the Environmental Research Letters article "Worldviews more than experience predict Californians’ support for wildfire risk mitigation policies. See Readme.md below for downloading and installation instructions and Readme.html in project file directory for more details.
Subject Keywords
Coverage
Spatial
Temporal
Start Date: | |
---|---|
End Date: |
Content
README.md
output: html_document: keep_md: yes
README for code and data used in Worldviews more than experience predict Californians' support for wildfire risk mitigation policies
Authors: Alexander Howe, Erika Blomdahl, Ellie Smith-Eskridge, Dakoeta Pinto, Mark Brunson, Peter Howe, Nancy Huntly, Sarah Klain"
Start
-
Download entire project folder ERL_Data to maintain file structure. The scripts use a relational file structure to load and write data.
-
If you are just interested in the survey dataset, it can be found in
data/survey/CA_Wildfire_Survey_2021.csv
. The associated codebook with descriptions of variables can be found indata/survey/Codebook_CA_Wildfire_Survey_2021.xlsx
. -
Install R and R Studio if you do not already have them. This code was tested with R version 4.3.3 (2024-02-29).
-
Open the ERL_Data.Rproj file to begin a new instance of R.
-
Package installation option 1: You can manually install required packages by running
install.packages("")
and typing the name of the package between the""
. You will need to run this for any packages not already installed before loading the package in a script withlibrary()
. The package name is the text between the()
. Note that it is possible package updates since the time of publishing the repository may break code. Installing an older version of the package may fix this. The package versions used for this repository can be found in the filerenv.lock
. -
Package installation option 2: To automatically install packages and dependencies with the version used to create this repository:
-
Install developer tools. This is necessary for building some required R packages from source (those that need compilation of C/C++ or Fortran code):
-
Windows: Rtools43 if you do not already have it. This is necessary for building some required R packages from source (those that need compilation of C/C++ or Fortran code).
-
Mac: Xcode Command Line Tools. Open Terminal. Type
xcode-select --install
and enter.
-
-
In the console, type and run
renv::restore()
to install required packages. If you already have a package installed it will be linked from cache, otherwise it will be downloaded.
-
-
Contact alex.howe@usu or alex.a.howe@gmail.com with questions.
Data Services
Related Resources
Title | Owners | Sharing Status | My Permission |
---|---|---|---|
Climate Adaptation Science Project Work | CAS Coordinator · David Rosenberg | Public & Shareable | Open Access |
Credits
Funding Agencies
This resource was created using funding from the following sources:
Agency Name | Award Title | Award Number |
---|---|---|
National Science Foundation | NRT: Graduate Climate Adaptation Research that Enhances Education and Responsiveness of science at the management-policy interface | 1633756 |
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.
http://creativecommons.org/licenses/by/4.0/
Comments
There are currently no comments
New Comment