Giter Site home page Giter Site logo

cherry-blossoms-analysis's Introduction

Hello — I’m a data reporter who investigates how the decisions made by people in power affect our lives using statistical analysis, graphics, and traditional reporting techniques.

I built and maintain censusapi, an R package that makes it easy to grab U.S. Census Bureau data programmatically.

I’m available for full-time or contract data journalism, programming, and analysis jobs. See more and reach out on my website.

cherry-blossoms-analysis's People

Contributors

hrecht avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

cherry-blossoms-analysis's Issues

{arcgislayers} in case you want to use arcgis hub data in the future :)

This analysis was super cool! I noticed you hand crafted and processed Feature Layer queries :)

In case you want to use data like this in the future you can make it a little bit easier by using the arcgislayers package!

library(arcgis)
#> Attaching core arcgis packages:
#> → arcgisutils v0.2.0.9000
#> → arcgislayers v0.2.0

# create a reference to the feature layer
cherry_blossoms <- arc_open(
  "https://services2.arcgis.com/j23KFYd23hRWewtZ/arcgis/rest/services/CHERRY_BLOSSOM_DATA_FINAL/FeatureServer/0"
)

# read all features as sf in parallel
all_trees <- arc_select(cherry_blossoms)

# preview
head(all_trees)
#> Simple feature collection with 6 features and 6 fields
#> Geometry type: POINT
#> Dimension:     XY
#> Bounding box:  xmin: -8577336 ymin: 4704984 xmax: -8572557 ymax: 4709696
#> Projected CRS: WGS 84 / Pseudo-Mercator
#>   FID                      SciName         CmmnName Species  Genus Cultivar
#> 1   1               Prunus species      Cherry Spp.  <Null> Prunus         
#> 2   2             Prunus yedoensis   Yoshino Cherry  <Null> Prunus         
#> 3   3 Prunus serrulata 'Snowgoose' Snowgoose Cherry  <Null> Prunus         
#> 4   4             Prunus yedoensis   Yoshino Cherry  <Null> Prunus         
#> 5   5               Prunus species      Cherry Spp.  <Null> Prunus         
#> 6   6               Prunus species      Cherry Spp.  <Null> Prunus         
#>                   geometry
#> 1 POINT (-8572557 4704984)
#> 2 POINT (-8572657 4705214)
#> 3 POINT (-8572620 4705181)
#> 4 POINT (-8572618 4705115)
#> 5 POINT (-8576760 4708402)
#> 6 POINT (-8577336 4709696)

Created on 2024-03-20 with reprex v2.0.2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.