Checking for non-preferred file/folder path names (may take a long time depending on the number of files/folders) ...

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

Coordinate System/Geographic Projection:
WGS 84 EPSG:4326
Coordinate Units:
Decimal degrees
Place/Area Name:
California, USA
North Latitude
42.3253°
East Longitude
-114.0734°
South Latitude
32.4348°
West Longitude
-124.7082°

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

  1. Download entire project folder ERL_Data to maintain file structure. The scripts use a relational file structure to load and write data.

  2. 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 in data/survey/Codebook_CA_Wildfire_Survey_2021.xlsx.

  3. 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).

  4. Open the ERL_Data.Rproj file to begin a new instance of R.

  5. 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 with library(). 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 file renv.lock.

  6. Package installation option 2: To automatically install packages and dependencies with the version used to create this repository:

    1. 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.

    2. 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.

  7. Contact alex.howe@usu or alex.a.howe@gmail.com with questions.

Data Services

The following web services are available for data contained in this resource. Geospatial Feature and Raster data are made available via Open Geospatial Consortium Web Services. The provided links can be copied and pasted into GIS software to access these data. Multidimensional NetCDF data are made available via a THREDDS Data Server using remote data access protocols such as OPeNDAP. Other data services may be made available in the future to support additional data types.

Related Resources

This resource belongs to the following collections:
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

Howe, A. A., E. M. Blomdahl, D. R. Pinto, E. Smith-Eskridge, M. W. Brunson, P. D. Howe, N. J. Huntly, S. C. Klain (2024). Supporting data and scripts for "Worldviews more than experience predict Californians’ support for wildfire risk mitigation policies", HydroShare, https://doi.org/10.4211/hs.2ae24516a62847f893867d33c31937d4

This resource is shared under the Creative Commons Attribution CC BY.

http://creativecommons.org/licenses/by/4.0/
CC-BY

Comments

There are currently no comments

New Comment

required